Files
DockerTemplates/PHP/docker-compose.yml
Primož Pokeržnik 186b09e37e Add PHP
2024-05-15 10:53:46 +02:00

22 lines
441 B
YAML

services:
php:
container_name: php
build:
dockerfile: Dockerfile
context: .
volumes:
- './www:/var/www/html'
- './php-logging.conf:/usr/local/etc/php-fpm.d/zz-log.conf'
nginx:
container_name: nginx
image: nginx:latest
ports:
- '80:80'
links:
- 'php'
volumes:
- './www:/var/www/html'
- './nginx.conf:/etc/nginx/conf.d/nginx.conf'
depends_on:
- php