This project includes a Dev Container definition in .devcontainer/.
Table of Contents ᐞ
What it uses ᐞ
- Existing root
compose.yaml - Existing root
Dockerfile_dev - A small Compose override:
.devcontainer/docker-compose.devcontainer.yml
How to use ᐞ
- Open the repository in VS Code.
- Run Dev Containers: Reopen in Container.
- The container attaches to the
phpservice with workspace at/app.
UID/GID mapping ᐞ
The dev container override sets defaults for required Compose variables:
HOST_UIDdefaults to1000HOST_GIDdefaults to1000
If your host user is different, export variables before launching VS Code:
export HOST_UID="$(id -u)"
export HOST_GID="$(id -g)"
code /home/wnd/PhpstormProjects/symfony-flex-backendServices started by default ᐞ
phpmariadbnginxdozzleadminer
Port mappings ᐞ
| Service | Host / Forwarded port | URL |
|---|---|---|
| Nginx (HTTPS) | 8000 |
https://localhost:8000 |
| Nginx (HTTP) | 8080 |
http://localhost:8080 |
| MariaDB | 33060 |
localhost:33060 |
| Dozzle | 8100 |
http://localhost:8100 |
| Adminer | 8200 |
http://localhost:8200 |
You can still use existing Make targets from inside the container terminal.