-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (52 loc) · 1.54 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
50
51
52
53
54
55
56
version: "3"
services:
db:
build: db
ports:
- 15432:5432
expose:
- 5432
volumes:
- .docker-compose-volumes/db:/var/lib/postgresql/data
minio:
image: minio/minio:edge@sha256:78b6513160ee72794698b808afbeff67b44b510d6d024e0728adc57d726b6c8b
command:
- server
- /data
environment:
MINIO_ACCESS_KEY: access_key
MINIO_SECRET_KEY: secret_key
MINIO_REGION_NAME: us-east-1
expose:
- 9000
ports:
- 19000:9000
volumes:
- .docker-compose-volumes/minio:/data
server:
build: .
environment:
EXTERNAL_ADDRESS: http://localhost:15000
BUCKET_NAME: dgp-app
AWS_ACCESS_KEY_ID: access_key
AWS_SECRET_ACCESS_KEY: secret_key
S3_ENDPOINT_URL: http://minio:9000
GOOGLE_KEY: "${GOOGLE_KEY}"
GOOGLE_SECRET: "${GOOGLE_SECRET}"
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
SENDGRID_API_KEY: "${SENDGRID_API_KEY}"
PUBLIC_KEY_B64: "${PUBLIC_KEY_B64}"
PRIVATE_KEY_B64: "${PRIVATE_KEY_B64}"
CKAN_INSTANCE_LOCAL_DEVELOPMENT_API_KEY: "${CKAN_INSTANCE_LOCAL_DEVELOPMENT_API_KEY}"
CKAN_INSTANCE_LOCAL_DEVELOPMENT_URL: "${CKAN_INSTANCE_LOCAL_DEVELOPMENT_URL}"
expose:
- 5000
ports:
- 15000:5000
depends_on:
- db
- minio