-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (47 loc) · 988 Bytes
/
docker-compose.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
version: '3'
services:
redis:
image: redislabs/redismod:latest
volumes:
- redis-data:/data
- redis-conf:/usr/local/etc/redis/redis.conf
ports:
- 6379:6379
deploy:
replicas: 1
api:
image: ${IMAGE_NAME}/api:latest
deploy:
replicas: 1
labels:
xyz.tangerie.reverse_proxy.path: "/codex/api"
xyz.tangerie.reverse_proxy.port: "80"
networks:
- default
- authenticator-overlay
- nginx-proxy-overlay
depends_on:
- redis
frontend:
image: ${IMAGE_NAME}/frontend:latest
deploy:
replicas: 1
labels:
xyz.tangerie.reverse_proxy.path: "/codex"
xyz.tangerie.reverse_proxy.port: "3000"
networks:
- default
- nginx-proxy-overlay
depends_on:
- api
volumes:
redis-data:
redis-conf:
networks:
default:
nginx-proxy-overlay:
external: true
driver: overlay
authenticator-overlay:
external: true
driver: overlay