Add ORIGIN environment variable and update startup script

This commit is contained in:
Sean Morley
2024-04-10 13:30:54 +00:00
parent 40f8c72f19
commit 4c032445a7
3 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ services:
- "3000:3000"
environment:
- DATABASE_URL=postgres://adventurelog:PO24VjITwGgk@db:5432/adventurelog
# ORIGIN is only necessary when not using a reverse proxy or hosting that includes https
- ORIGIN=http://localhost:3000
depends_on:
- db
db: