Skip to content

Commit b5cbf46

Browse files
committed
Cant use env vars in compose apparently
1 parent 1ca3039 commit b5cbf46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.devcontainer/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ services:
2727
volumes:
2828
- postgres-data:/var/lib/postgresql/data
2929
environment:
30-
POSTGRES_USER: "${DBUSER}"
31-
POSTGRES_DB: "${DBNAME}"
32-
POSTGRES_PASSWORD: "${DBPASS}"
30+
POSTGRES_DB: app
31+
POSTGRES_USER: app_user
32+
POSTGRES_PASSWORD: app_password
3333

3434
# Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
3535
# (Adding the "ports" property to this file will not forward from a Codespace.)

0 commit comments

Comments
 (0)