Skip to content

Commit

Permalink
Update stack.yml
Browse files Browse the repository at this point in the history
fix env vars
  • Loading branch information
GMoncrieff authored Aug 11, 2023
1 parent a5dd35b commit 8a0d709
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions deploy/stable/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ services:
- MAX_WORKERS=10
# Postgres connection
# Postgres connection
- POSTGRES_USER=${{ secrets.PG_USER }}"
- POSTGRES_PASS=${{ secrets.PG_PASSWORD }}
- POSTGRES_USER=$PG_USER
- POSTGRES_PASS=$PG_PASSWORD
- POSTGRES_DBNAME=earth_observations_api
- POSTGRES_HOST=${{ secrets.PG_HOST_STABLE }}
- POSTGRES_PORT=${{ secrets.PG_PORT_STABLE }}
- POSTGRES_HOST=$PG_HOST_STABLE
- POSTGRES_PORT=$PG_PORT_STABLE
- DB_MIN_CONN_SIZE=1
- DB_MAX_CONN_SIZE=10
# - DB_MAX_QUERIES=10
Expand Down Expand Up @@ -100,12 +100,12 @@ services:
# https://github.com/tiangolo/uvicorn-gunicorn-docker#max_workers
# - MAX_WORKERS=10
# Postgres connection
- POSTGRES_USER=${{ secrets.PG_USER }}"
- POSTGRES_PASS=${{ secrets.PG_PASSWORD }}
- POSTGRES_USER=$PG_USER
- POSTGRES_PASS=$PG_PASSWORD
- POSTGRES_DBNAME=earth_observations_api
- POSTGRES_HOST_READER=${{ secrets.PG_HOST_STABLE }}
- POSTGRES_HOST_WRITER=${{ secrets.PG_HOST_STABLE }}
- POSTGRES_PORT=${{ secrets.PG_PORT_STABLE }}
- POSTGRES_HOST_READER=$PG_HOST_STABLE
- POSTGRES_HOST_WRITER=$PG_HOST_STABLE
- POSTGRES_PORT=$PG_PORT_STABLE
- DB_MIN_CONN_SIZE=1
- DB_MAX_CONN_SIZE=10
# https://github.com/developmentseed/eoAPI/issues/16
Expand Down

0 comments on commit 8a0d709

Please sign in to comment.