Skip to content

Commit

Permalink
chore: default devcontainer remote user config
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Feb 4, 2025
1 parent 6300e31 commit a2dfbbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ LABEL devcontainer.metadata='[{ \
"extensions": ["ms-python.python", "eamodio.gitlens", "ms-python.black-formatter"], \
"settings": {"workspaceFolder": "/tds"} \
} \
} \
}, \
"remoteUser": "tds" \
}]'

RUN apt-get update -y; \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
depends_on:
- tds-db
environment:
- TDS_USER_NAME=tds-usr
- TDS_USER_NAME=tds # set to match the expected 'devcontainer' remoteUser of the dev.Dockerfile
- TDS_UID=${UID}
- DB_HOST=tds-db
- DB_PORT=5432
Expand Down

0 comments on commit a2dfbbd

Please sign in to comment.