-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.debug.yaml
More file actions
39 lines (36 loc) · 855 Bytes
/
Copy pathcompose.debug.yaml
File metadata and controls
39 lines (36 loc) · 855 Bytes
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
services:
postgres:
container_name: postgres-debug
volumes:
- postgres_data_debug:/var/lib/postgresql/data
expose:
- 5432
ports:
- "5432:5432" # mapping port for debugging purposes
redis:
container_name: redis-debug
expose:
- 6379
codemaze-debug:
container_name: codemaze-debug
build:
dockerfile: Dockerfile.debug
volumes:
- codemaze_files_debug:/codemaze/files/debug
- codemaze_logs_debug:/codemaze/logs
- /var/run/docker.sock:/var/run/docker.sock
- type: bind
source: code
target: /codemaze/code
read_only: true
command: gunicorn -c gunicorn.debug.py
ports:
- 8080:3031
restart: always
depends_on:
- postgres
- redis
volumes:
postgres_data_debug:
codemaze_files_debug:
codemaze_logs_debug: