-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
94 lines (90 loc) · 3.85 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "3"
services:
db:
build: db
ports:
- 55432:5432
expose:
- 5432
volumes:
- /var/lib/postgresql/data
minio:
image: minio/minio:latest
command:
- server
- /data
environment:
MINIO_ROOT_USER: access_key
MINIO_ROOT_PASSWORD: secret_key
MINIO_REGION_NAME: us-east-1
expose:
- 9000
ports:
- 9000:9000
volumes:
- ./minio-data:/data
server:
build: .
image: akariv/dgp-app
env_file:
- creds.sh
environment:
ETLS_DATABASE_URL: postgresql://postgres:postgres@db/etls
BUCKET_NAME: dgp-app
AWS_ACCESS_KEY_ID: access_key
AWS_SECRET_ACCESS_KEY: secret_key
AWS_REGION: us-east-1
S3_ENDPOINT_URL: http://minio:9000
DATABASE_URL: postgresql://postgres:postgres@db/auth
DATASETS_DATABASE_URL: postgresql://postgres:postgres@db/datasets
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: postgresql://postgres:postgres@db/airflow
# AIRFLOW__CORE__FERNET_KEY: Xea0TWijCpat5di3GeecetnoElS1USDAyx7TkGZCv7k= # https://airflow.apache.org/docs/apache-airflow/stable/security/secrets/fernet.html
EXTERNAL_ADDRESS: http://localhost:5000
# GOOGLE_KEY: "152613677750-n8502krt2dufjp9m0quida78e68ans01.apps.googleusercontent.com"
# GOOGLE_SECRET: "iITUzoiGrweI0-N9p9VGEy39"
PUBLIC_KEY: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6DMg4MgZDQqA6TdJchwN
bgr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