daux.io/docker/docker-compose.7.yml
2019-11-30 14:07:20 +01:00

19 lignes
302 B
YAML

version: '2'
services:
nginx:
image: nginx
ports:
- 8086:80
volumes:
- ../:/var/www:ro
- ./nginx_default.conf:/etc/nginx/conf.d/default.conf
links:
- phpserver
phpserver:
image: php:7.4-fpm
working_dir: /var/www/
volumes:
- ../:/var/www/