Skip to content

Commit

Permalink
Separate docker env from main backend defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Sep 19, 2024
1 parent ca43237 commit e4c461e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions backend/.env.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Backend
DOMAIN=localhost
ENVIRONMENT=local
PROJECT_NAME="Districtr v2 backend"
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,http://localhost:3000,http://127.0.0.1:3000"
SECRET_KEY="super-secret"

# Postgres
DATABASE_URL=postgresql+psycopg://postgres:postgres@db:5432/districtr
POSTGRES_SCHEME=postgresql+psycopg
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=districtr
POSTGRES_SERVER=db # Use the service name `db` from docker-compose
POSTGRES_PORT=5432

# Volumes
VOLUME_PATH=/data

0 comments on commit e4c461e

Please sign in to comment.