Files
lelong/docker-compose.yml
T
2026-10-04 15:53:05 +08:00

25 lines
561 B
YAML

services:
app:
build:
context: .
dockerfile: docker/php/Dockerfile
target: development
working_dir: /var/www/html
ports:
- "8082:8000"
volumes:
- ./:/var/www/html:cached
environment:
APP_ENV: local
APP_DEBUG: "true"
# Lets PHP resolve host.docker.internal to the host machine (Linux Docker; Desktop already provides this).
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- default
- api_arrahn_default
networks:
api_arrahn_default:
external: true