mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-04 12:45:17 +02:00
23 lines
620 B
YAML
23 lines
620 B
YAML
services:
|
|
web:
|
|
build: .
|
|
ports:
|
|
- "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
|
|
- SKIP_DB_WAIT=false
|
|
# Only necessary for externaly hosted databases such as NeonDB
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./sql:/sql
|
|
db:
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_USER: adventurelog
|
|
POSTGRES_PASSWORD: PO24VjITwGgk
|
|
POSTGRES_DB: adventurelog
|
|
ports:
|
|
- "5432:5432"
|