Update docker-compose.yml
This commit is contained in:
+4
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user