mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-12-23 22:58:17 -05:00
Update database configuration in docker-compose.yml
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user