-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (54 loc) · 1.01 KB
/
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
50
51
52
53
54
55
56
services:
adminer:
image: adminer
ports:
- '8085:8080'
env_file:
- .env
networks:
- birdcord
db:
image: postgres:15-alpine
restart: unless-stopped
env_file:
- .env
volumes:
- pg-data:/var/lib/postgresql/data
networks:
- birdcord
redis:
image: redis/redis-stack-server:latest
restart: unless-stopped
env_file:
- .env
volumes:
- redis-data:/data
networks:
- birdcord
migrations:
image: maxgus/birdcord:migrations-latest
environment:
- ENVIRONMENT=${ENVIRONMENT}
- CONNECTION_STRING=${CONNECTION_STRING}
deploy:
restart_policy:
condition: on-failure
max_attempts: 15
networks:
- birdcord
discord:
image: maxgus/birdcord:discord-latest
env_file:
- .env
deploy:
restart_policy:
condition: on-failure
max_attempts: 15
networks:
- birdcord
volumes:
pg-data:
redis-data:
networks:
birdcord:
driver: bridge