Files
myAnsuran-KIK-JPPH-/docker-compose.yml
2026-06-16 15:04:58 +08:00

27 lines
614 B
YAML

services:
app:
build:
context: .
dockerfile: docker/php-apache/Dockerfile
container_name: myansuran-app
ports:
- "8002:80"
restart: always
volumes:
- ./src:/var/www/html
- ./docker/php/custom.ini:/usr/local/etc/php/conf.d/99-custom.ini
environment:
APACHE_DOCUMENT_ROOT: /var/www/html/public
APP_ENV: local
APP_DEBUG: "true"
REDIS_HOST: shared-redis
REDIS_PORT: 6379
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- backend_net
networks:
backend_net:
name: backend_net
driver: bridge