1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 04:49:37 +02:00

Update database configuration in docker-compose.yml

This commit is contained in:
Sean Morley 2024-04-02 19:22:54 +00:00
parent d86eaeb0be
commit 3f24e44558

View file

@ -1,9 +1,17 @@
version: '3.8'
services:
web:
build: .
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgresql://seanmorley15:PO24VjITwGgk@ep-withered-violet-a5xm4eqj.us-east-2.aws.neon.tech/1?sslmode=require
- DATABASE_URL=postgres://adventurelog:PO24VjITwGgk@db:5432/adventurelog
depends_on:
- db
db:
image: postgres
environment:
POSTGRES_USER: adventurelog
POSTGRES_PASSWORD: PO24VjITwGgk
POSTGRES_DB: adventurelog
ports:
- "5432:5432"