AspireCloud/docker-compose.override.yml.dist
Chuck Adams f7531d105f
Security hardening, upgrade php to 8.4 (#177)
* feat: enable zstd and gzip compression in Caddyfile.

* dev: mount Caddyfile and php.ini in webapp

* refactor: remove all local port bindings in docker-compose.yml

* build: bump php base images to 8.4.4

* tweak: use high UID for container app user

* CI: use step-security/harden-runner and pinned commit hashes

* ci: use php 8.4 in CI runner
2025-03-15 12:32:22 -06:00

19 lines
647 B
Text

# Copy this file to docker-compose.override.yml and customize it to your needs.
# This is an example file only, and is NOT loaded by default.
services:
webapp:
ports:
- ${LOCAL_HTTP_PORT:-8099}:80
environment:
- XDEBUG_CONFIG=idekey=PHPSTORM start_with_request=true var_display_max_depth=-1 max_nesting_level=3000 client_host=172.17.0.1
- PHP_IDE_CONFIG=serverName=application.local
- XDEBUG_MODE=develop,debug,coverage
postgres:
ports:
- "${LOCAL_POSTGRES_PORT:-5432}:5432"
mailpit:
ports:
- "${LOCAL_MAILPIT_PORT:-8025}:8025"