-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
41 lines (36 loc) · 1.03 KB
/
docker-compose.yaml
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
version: "3.7"
services:
animeitor:
image: wuerges/animeitor:latest
command: "--sedes ${SEDES} --secret ${SECRET} ${BOCA_URL} --port 8000"
volumes:
- ./tests:/tests
- ./config:/config
build:
context: server
args:
- DOCKER_BUILDKIT=1
printurls:
image: wuerges/animeitor:latest
command: "--sedes ${SEDES} --secret ${SECRET} --prefix http://${PUBLIC_HOST}:${PUBLIC_PORT}"
volumes:
- ./config:/config
entrypoint: /printurls
build:
context: server
args:
- DOCKER_BUILDKIT=1
animeitor-client:
image: wuerges/animeitor-client:latest
ports:
- ${PUBLIC_PORT}:80
volumes:
- ./server/photos:/usr/share/nginx/html/static/assets/teams:ro
- ./client-nginx.conf:/etc/nginx/conf.d/default.conf:ro
build:
context: .
dockerfile: client.Dockerfile
args:
- REMOVE_CCL=0
- URL_PREFIX=http://${PUBLIC_HOST}:${PUBLIC_PORT}/api
- PHOTO_PREFIX=http://${PUBLIC_HOST}:${PUBLIC_PORT}/static/assets/teams