-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (58 loc) · 1.17 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3'
services:
gateway:
container_name: ontdbblr.mor.local
build: ./nginx
volumes:
- ./nginx/nginx-default.development.conf:/etc/nginx/conf.d/default.conf
- ./media:/media
depends_on:
ontdbblr_app:
condition: service_started
ports:
- 8007:8007
networks:
- mor_bridge_network
env_file:
- .env.local
ontdbblr_app:
build: ./app
env_file:
- .env.local
volumes:
- ./media:/media
- ./app:/app
depends_on:
redis:
condition: service_started
database:
condition: service_started
networks:
- ontdbblr_network
- mor_bridge_network
command: ["bash", "/app/deploy/docker-entrypoint.development.sh"]
restart: always
database:
image: postgres:16.1
shm_size: '1024m'
ports:
- "5432"
env_file:
- .env.local
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- ontdbblr_network
redis:
image: redis
networks:
- ontdbblr_network
ports:
- "6379"
volumes:
postgres-data:
networks:
ontdbblr_network:
external: true
mor_bridge_network:
external: true