Update docker-compose.yml

This commit is contained in:
2026-10-04 04:43:12 +00:00
parent dad4edb858
commit 47819e6d46
+4 -4
View File
@@ -6,7 +6,7 @@ services:
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgres://postgres:password@postgres:5432/mydb
- DATABASE_URL=postgres://dbadmin:Passw0rd123@postgres:5432/mydb
- PORT=3000
depends_on:
- postgres
@@ -14,9 +14,9 @@ services:
postgres:
image: postgres:16
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=mydb
- POSTGRES_USER=dbadmin
- POSTGRES_PASSWORD=Passw0rd123!
- POSTGRES_DB=backupdb
volumes:
- postgres_data:/var/lib/postgresql/data
ports: