Skip to content

Commit ad3f28e

Browse files
fix docker compose for local
1 parent 89ab9ed commit ad3f28e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.example.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ DB_PASSWORD=<postgress-admin-secret>
33
DB_PORT=5432
44
HASURA_GRAPHQL_ADMIN_SECRET=<hasura-admin-secret>
55

6+
PHX_HOST="localhost"
67
DATABASE_URL="ecto://postgres:postgres@db:5432/fileonchain?ssl=false"
7-
SECRET_KEY_BAS=<64-bytes-secret>
8+
SECRET_KEY_BASE=<64-bytes-secret>

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ services:
4444
MIX_ENV: prod
4545
DATABASE_URL: ${DATABASE_URL}
4646
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
47-
PHX_HOST: localhost
47+
PHX_HOST: ${PHX_HOST}
4848
networks:
4949
- app_network
5050
ports:

0 commit comments

Comments
 (0)