We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1e36a commit 1a5100cCopy full SHA for 1a5100c
.github/workflows/infra/docker/postgres-compose-pre.yml
@@ -6,13 +6,13 @@ services:
6
container_name: postgres
7
restart: always
8
environment:
9
- POSTGRES_USER: yourusername # Replace with your desired username
10
- POSTGRES_PASSWORD: yourpassword # Replace with your desired password
11
- POSTGRES_DB: yourdatabase # Replace with your desired database name
+ POSTGRES_USER: ${POSTGRES_USER}
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
+ POSTGRES_DB: ${POSTGRES_DB}
12
ports:
13
- - "5432:5432" # Maps port 5432 on the host to port 5432 in the container
+ - "5432:5432"
14
volumes:
15
- - postgres_data:/var/lib/postgresql/data # Persistent data storage
+ - postgres_data:/var/lib/postgresql/data
16
17
18
postgres_data:
0 commit comments