This commit is contained in:
Primož Pokeržnik
2024-05-15 10:53:46 +02:00
parent 052783da09
commit 186b09e37e
4 changed files with 66 additions and 0 deletions

22
PHP/docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
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