Skip to content

Commit

Permalink
Merge pull request #60 from panoratech/docker-api
Browse files Browse the repository at this point in the history
fix docker compose and added DISTRIBUTION in .env
  • Loading branch information
rflihxyz authored Nov 3, 2023
2 parents f4e0fc4 + d3fa72e commit aa716f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ DISTRIBUTION=selfhosted
POSTGRES_USER=my_user
POSTGRES_PASSWORD=my_password
POSTGRES_DB=panora_db
POSTGRES_HOST=postgres

JWT_SECRET=secret_jwt
JWT_SECRET=secret_jwt
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
api:
build: ./packages/api
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?ssl=false
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}?ssl=false
DISTRIBUTION: ${DISTRIBUTION}
JWT_SECRET: ${JWT_SECRET}
restart:
Expand Down

0 comments on commit aa716f3

Please sign in to comment.