mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 22:09:36 +02:00
Update database configuration in docker-compose.yml
This commit is contained in:
parent
d86eaeb0be
commit
3f24e44558
1 changed files with 11 additions and 3 deletions
|
@ -1,9 +1,17 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue