39 lines
1021 B
YAML
39 lines
1021 B
YAML
# Local dev overrides — auto-merged by `docker compose` CLI on this host.
|
|
# Portainer uses docker-compose.yml or docker-compose.portainer.yml only;
|
|
# it never reads this file, so the Portainer stack stays clean.
|
|
#
|
|
# What this adds:
|
|
# - bind-mount ./app:/var/www/html on PHP services + nginx
|
|
# so vite HMR + code edits propagate without image rebuild.
|
|
#
|
|
# To run only the Portainer-shape compose locally (without bind-mounts):
|
|
# docker compose -f docker-compose.yml up -d
|
|
#
|
|
# To run with the override:
|
|
# docker compose up -d (auto-loads docker-compose.override.yml)
|
|
|
|
services:
|
|
nginx:
|
|
volumes:
|
|
- ./app:/var/www/html
|
|
|
|
app:
|
|
volumes:
|
|
- ./app:/var/www/html
|
|
- app-storage:/var/www/html/storage
|
|
|
|
queue:
|
|
volumes:
|
|
- ./app:/var/www/html
|
|
- app-storage:/var/www/html/storage
|
|
|
|
scheduler:
|
|
volumes:
|
|
- ./app:/var/www/html
|
|
- app-storage:/var/www/html/storage
|
|
|
|
reverb:
|
|
volumes:
|
|
- ./app:/var/www/html
|
|
- app-storage:/var/www/html/storage
|