-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.13 KB
/
docker-compose.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
volumes:
local_postgres_data: {}
local_postgres_data_backups: {}
services:
argodb:
build:
context: ./argo-db-backend
dockerfile: ./compose/django/Dockerfile
image: argodb_local
container_name: argodb
depends_on:
- postgres
volumes:
- ./argo-db-backend:/app
env_file:
- ./argo-db-backend/.env.local
ports:
- "8000:8000"
command: /start
postgres:
build:
context: ./argo-db-backend
dockerfile: ./compose/postgres/Dockerfile
image: argodb_postgres
container_name: postgres
volumes:
- local_postgres_data:/var/lib/postgresql/data
- local_postgres_data_backups:/backups
env_file:
- ./argo-db-backend/.env.local
ports:
- "5432:5432"
bgc-processing:
build:
context: ./bgc-processing
dockerfile: ./Dockerfile
image: bgc_processing_local
container_name: bgc-processing
depends_on:
- argodb
volumes:
- ./bgc-processing:/app
- ./bgc-processing-data:/home/bgc_processing/bgc-processing/data
- ./testing-data:/home/testing-data
env_file:
- ./bgc-processing/.env.local