forked from esnet-security/SCRAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.override.local.yml
More file actions
64 lines (57 loc) · 1.26 KB
/
Copy pathcompose.override.local.yml
File metadata and controls
64 lines (57 loc) · 1.26 KB
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
---
version: '3.4'
volumes:
local_postgres_data: {}
local_postgres_data_backups: {}
services:
django:
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"
postgres:
volumes:
- local_postgres_data:/var/lib/postgresql/data:Z
- local_postgres_data_backups:/backups:z
env_file:
- ./.envs/.local/.postgres
docs:
image: scram_local_docs
build:
context: .
dockerfile: ./compose/local/docs/Dockerfile
env_file:
- ./.envs/.local/.django
networks:
default: {}
volumes:
- $CI_PROJECT_DIR/docs:/docs:z
- $CI_PROJECT_DIR/config:/app/config:z
- $CI_PROJECT_DIR/scram:/app/scram:z
ports:
- "7000"
command: /start-docs
redis:
ports:
- "6379"
gobgp:
volumes:
- $CI_PROJECT_DIR/gobgp_config:/config:z
ports:
- "179"
- "50051"
networks:
default:
ipam:
driver: default
config:
- subnet: 0200:c0:ff:ee::/64