-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (41 loc) · 1.29 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
volumes:
pudl_viewer_postgres_data:
services:
pudl_viewer:
build:
context: .
dockerfile: Dockerfile
container_name: pudl-viewer
environment:
PUDL_VIEWER_SECRET_KEY: ${PUDL_VIEWER_FLASK_SECRET_KEY-pudl_viewer_secret}
PUDL_VIEWER_DB_HOST: ${PUDL_VIEWER_DB_HOST-postgres}
PUDL_VIEWER_DB_PORT: ${PUDL_VIEWER_DB_PORT-5432}
PUDL_VIEWER_DB_USERNAME: ${PUDL_VIEWER_DB_USERNAME-pudl_viewer}
PUDL_VIEWER_DB_PASSWORD: ${PUDL_VIEWER_DB_PASSWORD-pudl_viewer}
PUDL_VIEWER_DB_NAME: ${PUDL_VIEWER_DB_NAME-pudl_viewer}
PUDL_VIEWER_AUTH0_DOMAIN: ${PUDL_VIEWER_AUTH0_DOMAIN}
PUDL_VIEWER_AUTH0_CLIENT_ID: ${PUDL_VIEWER_AUTH0_CLIENT_ID}
PUDL_VIEWER_AUTH0_CLIENT_SECRET: ${PUDL_VIEWER_AUTH0_CLIENT_SECRET}
GRACEFUL_TIMEOUT: 1
PORT: 8080
volumes:
- type: bind
source: parquet_fe_prototype
target: /app/parquet_fe_prototype
- type: bind
source: dist
target: /app/dist
ports:
- target: 8080
published: 8080
postgres:
image: postgres:17
environment:
POSTGRES_DB: pudl_viewer
POSTGRES_USER: pudl_viewer
POSTGRES_PASSWORD: pudl_viewer
volumes:
- pudl_viewer_postgres_data:/var/lib/postgresql/data
ports:
- target: 5432
published: 5432