-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.dev.yml
executable file
·63 lines (60 loc) · 1.19 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
53
54
55
56
57
58
59
60
61
62
63
version: '3.3'
services:
web:
container_name: caddie_web
image: ghcr.io/biomedbigdata/caddie-frontend:development
restart: always
ports:
- 8111:80
networks:
- caddie
labels:
- "com.centurylinklabs.watchtower.enable=true"
app:
image: ghcr.io/biomedbigdata/caddie-backend:development
container_name: caddie_app
env_file:
- 'docker-django.env'
restart: always
ports:
- 8112:8000
networks:
- db_net
- redis_net
- caddie
depends_on:
- db
- redis
labels:
- "com.centurylinklabs.watchtower.enable=true"
db:
image: postgres
restart: always
hostname: db
networks:
- db_net
volumes:
- caddie_postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_DB=caddie
- POSTGRES_USER=caddie
- POSTGRES_PASSWORD=placeholder
command:
- "postgres"
- "-c"
- "max_connections=10000"
- "-c"
- "shared_buffers=2GB"
redis:
image: redis
restart: always
command: ["redis-server"]
hostname: redis
networks:
- redis_net
networks:
db_net:
redis_net:
caddie:
volumes:
caddie_postgres_data: