Files
docker-workshop/00_uebungs-files/03_docker-compose/docker-compose.override.yml
Frank Woeckener dbd89173cd Add project files
2025-03-18 14:26:50 +01:00

27 lines
469 B
YAML

version: '3'
services:
nginx:
ports:
- "8080:80"
volumes:
- ./src:/var/www/html:delegated
environment:
- NGINX_HOST=localhost
- NGINX_PORT=80
php:
build:
context: ./docker/php
dockerfile: Dockerfile.dev
volumes:
- ./src:/var/www/html:delegated
environment:
- PHP_IDE_CONFIG=serverName=docker
extra_hosts:
- "host.docker.internal:host-gateway"
db:
ports:
- "3306:3306"