forked from dataspot/dgp-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
91 lines (87 loc) · 3.53 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
version: "3"
services:
db:
build: db
ports:
- 55432:5432
expose:
- 5432
volumes:
- /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: .
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__CORE__SQL_ALCHEMY_CONN: postgresql://postgres:postgres@db/airflow
EXTERNAL_ADDRESS: http://localhost:5000
PUBLIC_KEY: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzSrV/SxRNKufc6f0GQIu
YMASgBCOiJW5fvCnGtVMIrWvBQoCFAp9QwRHrbQrQJiPg6YqqnTvGhWssL5LMMvR
8jXXOpFUKzYaSgYaQt1LNMCwtqMB0FGSDjBrbmEmnDSo6g0Naxhi+SJX3BMcce1W
TgKRybv3N3F+gJ9d8wPkyx9xhd3H4200lHk4T5XK5+LyAPSnP7FNUYTdJRRxKFWg
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