forked from Satrium/LinksOfTheAnvil
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
52 lines (50 loc) · 1.02 KB
/
docker-compose.dev.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
version: '3.8'
services:
linksoftheanvil:
image: "${IMAGE_TAG}"
networks:
- proxy
- worldanvil-dev
environment:
APP_KEY: "${APP_KEY}"
NODE_ENV: "preproduction"
deploy:
mode: replicated
replicas: 1
update_config:
order: start-first
parallelism: 1
monitor: 35s
failure_action: rollback
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:linksdev.satrium.dev
- traefik.docker.network=proxy
- traefik.port=3000
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 30s
redis:
image: redis:6.0.0-alpine
networks:
- worldanvil-dev
deploy:
resources:
limits:
cpus: '0.50'
memory: 50M
rethinkdb:
image: rethinkdb:2.4.0
networks:
- worldanvil-dev
volumes:
- rethinkdb-data:/data
networks:
proxy:
external: true
worldanvil-dev:
external: true
volumes:
rethinkdb-data: