-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-acdh-prod.yml
111 lines (111 loc) · 2.9 KB
/
docker-compose-acdh-prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "2"
services:
marketplace-prod:
build:
context: .
dockerfile: Dockerfile-acdh-ch
args:
- GID=1031
- UID=1031
image: docker.gitlab.gwdg.de/sshoc/sshoc-marketplace-backend/api-prod:latest
container_name: sshoc-marketplace-backend-api-prod
ports:
- 8080:8080
depends_on:
- psql-prod
- solr-prod
environment:
GID: 1031
UID: 1031
APPLICATION_PROFILE: prod
POSTGRES_DB: marketplace_db
POSTGRES_USER: marketplace
POSTGRES_PASSWORD: marketplace
POSTGRES_HOST: psql-prod
POSTGRES_PORT: 5432
SOLR_HOST: solr-prod
SOLR_PORT: 8983
aai_base_uri: https://proxy.acc.myaccessid.org/OIDC
egi_id: ${egi_id}
egi_secret: ${egi_secret}
token_secret: ${token_secret}
recaptcha_site_key: ${recaptcha_site_key}
recaptcha_secret_key: ${recaptcha_secret_key}
marketplace_log_dir: /log
marketplace_media_dir: /var/sshoc/media
labels:
- traefik.backend=marketplace-api-prod
- traefik.frontend.rule=Host:marketplace-api-prod.sisyphos.arz.oeaw.ac.at,sshoc-marketplace-api.acdh.oeaw.ac.at,marketplace-api.sshoc.eu,marketplace-api.sshopencloud.eu
- traefik.docker.network=web
- traefik.port=8080
- ID=17458
networks:
- backend
- web
volumes:
- app-log:/log
- media-data:/var/sshoc/media
psql-prod:
image: postgres:15.3
container_name: sshoc-marketplace-backend-postgres-prod
ports:
- 5432:5432
volumes:
- psql-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: marketplace_db
POSTGRES_USER: marketplace
POSTGRES_PASSWORD: marketplace
POSTGRES_HOST: psql-prod
labels:
- ID=18663
networks:
- backend
solr-prod:
build: etc/solr
image: docker.gitlab.gwdg.de/sshoc/sshoc-marketplace-backend/solr-prod:latest
container_name: sshoc-marketplace-backend-solr-prod
ports:
- 8983:8983
volumes:
- solr-data:/var/solr
labels:
- traefik.backend=solr-prod
- traefik.frontend.rule=Host:marketplace-solr-prod.sisyphos.arz.oeaw.ac.at
- traefik.docker.network=web
- traefik.port=8983
- ID=18664
networks:
- backend
- web
networks:
backend:
driver: bridge
web:
external:
name: web
volumes:
psql-data:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmarketplacecuration/shares/psql-data"
o: "bind"
solr-data:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmarketplacecuration/shares/solr-data"
o: "bind"
app-log:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmarketplacecuration/shares/app-log"
o: "bind"
media-data:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmarketplacecuration/shares/media-data"
o: "bind"