-
Notifications
You must be signed in to change notification settings - Fork 4
/
compose.override.local.yml
77 lines (69 loc) · 1.62 KB
/
compose.override.local.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
volumes:
local_postgres_data: {}
local_postgres_data_backups: {}
services:
django:
platform: linux/amd64
build:
dockerfile: ./compose/local/django/Dockerfile
image: scram_local_django
volumes:
- $CI_PROJECT_DIR:/app:z
- /tmp/profile_data:/tmp/profile_data
env_file:
- ./.envs/.local/.django
- ./.envs/.local/.postgres
healthcheck:
test: ["CMD", "curl", "-f", "http://django:8000/process_expired/"]
ports:
- "8000"
- 56780:56780
environment:
# This can be set to either `debugpy` or `pycharm-pydevd` currently.
- DEBUG=${DEBUG:-}
postgres:
volumes:
- local_postgres_data:/var/lib/postgresql/data:Z
- local_postgres_data_backups:/backups:z
env_file:
- ./.envs/.local/.postgres
deploy:
replicas: ${POSTGRES_ENABLED:-1}
docs:
image: scram_local_docs
build:
context: .
dockerfile: ./compose/local/docs/Dockerfile
env_file:
- ./.envs/.local/.django
networks:
default: {}
volumes:
- $CI_PROJECT_DIR:/app:z
ports:
- "${DOCS_PORT:-8888}"
command: "mkdocs serve -a 0.0.0.0:${DOCS_PORT:-8888}"
redis:
ports:
- "6379"
gobgp:
volumes:
- $CI_PROJECT_DIR/gobgp_config:/config:z
ports:
- "179"
- "50051"
translator:
volumes:
- ./translator/tests/:/app/tests/
ports:
- 56781:56781
environment:
# This can be set to either `debugpy` or `pycharm-pydevd` currently.
- DEBUG=${DEBUG:-}
networks:
default:
ipam:
driver: default
config:
- subnet: 0200:c0:ff:ee::/64