Skip to content

Commit

Permalink
fix docker compose for local
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Sep 1, 2024
1 parent 89ab9ed commit ad3f28e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ DB_PASSWORD=<postgress-admin-secret>
DB_PORT=5432
HASURA_GRAPHQL_ADMIN_SECRET=<hasura-admin-secret>

PHX_HOST="localhost"
DATABASE_URL="ecto://postgres:postgres@db:5432/fileonchain?ssl=false"
SECRET_KEY_BAS=<64-bytes-secret>
SECRET_KEY_BASE=<64-bytes-secret>
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
MIX_ENV: prod
DATABASE_URL: ${DATABASE_URL}
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
PHX_HOST: localhost
PHX_HOST: ${PHX_HOST}
networks:
- app_network
ports:
Expand Down

0 comments on commit ad3f28e

Please sign in to comment.