-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
51 lines (46 loc) · 1.09 KB
/
docker-compose.dev.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
version: "3"
services:
db:
build: ../../datariver/dgp/dgp-app/db/
ports:
- 55432:5432
expose:
- 5432
volumes:
- dbdata:/var/lib/postgresql/data
minio:
image: minio/minio:edge
command:
- server
- /data
environment:
MINIO_ACCESS_KEY: access_key
MINIO_SECRET_KEY: secret_key
MINIO_REGION_NAME: us-east-1
expose:
- 9000
ports:
- 9000:9000
volumes:
- ./minio-data:/data
server:
build: .
environment:
EXTERNAL_ADDRESS: http://localhost:5000
BUCKET_NAME: dgp-app
AWS_ACCESS_KEY_ID: access_key
AWS_SECRET_ACCESS_KEY: secret_key
S3_ENDPOINT_URL: http://minio:9000
DATABASE_URL: postgresql://postgres:postgres@db/auth
DATASETS_DATABASE_URL: postgresql://postgres:postgres@db/datasets
AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql://postgres:postgres@db/airflow
ETLS_DATABASE_URL: postgresql://postgres:postgres@db/etls
AWS_REGION: us-east-1
expose:
- 5000
ports:
- 5000:5000
depends_on:
- db
volumes:
dbdata: