2024-04-01 21:13:59 +00:00
|
|
|
services:
|
|
|
|
web:
|
2024-04-11 22:58:54 +00:00
|
|
|
build: .
|
2024-04-01 21:13:59 +00:00
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
2024-04-02 14:41:07 +00:00
|
|
|
environment:
|
2024-04-02 19:22:54 +00:00
|
|
|
- DATABASE_URL=postgres://adventurelog:PO24VjITwGgk@db:5432/adventurelog
|
2024-04-10 13:30:54 +00:00
|
|
|
# ORIGIN is only necessary when not using a reverse proxy or hosting that includes https
|
|
|
|
- ORIGIN=http://localhost:3000
|
2024-04-18 01:15:52 +00:00
|
|
|
- SKIP_DB_WAIT=false
|
|
|
|
# Only necessary for externaly hosted databases such as NeonDB
|
2024-04-02 19:22:54 +00:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: adventurelog
|
|
|
|
POSTGRES_PASSWORD: PO24VjITwGgk
|
|
|
|
POSTGRES_DB: adventurelog
|
|
|
|
ports:
|
2024-04-02 22:02:20 +00:00
|
|
|
- "5432:5432"
|