DONE: add docker config setup for local docker development

This commit is contained in:
ISMAIL MASSERAN
2026-10-04 15:53:05 +08:00
parent 937b892000
commit 8f0e83ee11
10 changed files with 370 additions and 324 deletions
+24
View File
@@ -0,0 +1,24 @@
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