-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-acdh-develop.yml
129 lines (129 loc) · 3.12 KB
/
docker-compose-acdh-develop.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: "2"
services:
marketplace:
build:
context: .
dockerfile: Dockerfile-acdh-ch
args:
- GID=1032
- UID=1032
image: docker.gitlab.gwdg.de/sshoc/sshoc-marketplace-backend/api:latest
container_name: sshoc-marketplace-backend-api
depends_on:
- psql
- solr
environment:
GID: 1032
UID: 1032
APPLICATION_PROFILE: prod
POSTGRES_DB: marketplace_db
POSTGRES_USER: marketplace
POSTGRES_PASSWORD: marketplace
POSTGRES_HOST: psql
POSTGRES_PORT: 5432
SOLR_HOST: solr
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
- traefik.frontend.rule=Host:marketplace-api.sisyphos.arz.oeaw.ac.at,sshoc-marketplace-api.acdh-dev.oeaw.ac.at
- traefik.docker.network=web
- traefik.port=8080
- ID=15824
networks:
- backend
- web
volumes:
- app-log:/log
- media-data:/var/sshoc/media
psql:
image: postgres:15.3
container_name: sshoc-marketplace-backend-postgres
volumes:
- psql-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: marketplace_db
POSTGRES_USER: marketplace
POSTGRES_PASSWORD: marketplace
POSTGRES_HOST: psql
labels:
- ID=18661
networks:
- backend
solr:
build: etc/solr
image: docker.gitlab.gwdg.de/sshoc/sshoc-marketplace-backend/solr
container_name: sshoc-marketplace-backend-solr
volumes:
- solr-data:/var/solr
labels:
- traefik.backend=solr
- traefik.frontend.rule=Host:marketplace-solr.sisyphos.arz.oeaw.ac.at
- traefik.docker.network=web
- traefik.port=8983
- ID=18662
networks:
- backend
- web
gitlab-runner:
image: gitlab/gitlab-runner:latest
container_name: sshoc-mp-backend-runner
environment:
DOCKER_TLS_CERTDIR: ""
labels:
- ID=18591
volumes:
- gitlab-runner:/etc/gitlab-runner
- docker:/var/run
networks:
- backend
networks:
backend:
driver: bridge
web:
external:
name: web
volumes:
psql-data:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmp/shares/psql-data"
o: "bind"
solr-data:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmp/shares/solr-data"
o: "bind"
gitlab-runner:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmp/shares/gitlab-runner"
o: "bind"
docker:
driver: local
driver_opts:
type: "none"
device: "/var/run"
o: "bind"
app-log:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmp/shares/app-log"
o: "bind"
media-data:
driver: local
driver_opts:
type: "none"
device: "/home/sshocmp/shares/media-data"
o: "bind"