nginx-dev/docker-compose.yml

15 lines
357 B
YAML
Raw Normal View History

version: '3'
services:
nginx:
image: nginx-dev
network_mode: host
build: .
container_name: nginx
hostname: nginx
volumes:
- ~/.mnt/Nginx:/var/www:Z
- ./data/nginx/sites-available:/etc/nginx/sites-available:Z
- ./data/nginx/sites-enabled:/etc/nginx/sites-enabled:Z
- ./data/mysql/data:/var/lib/mysql/data:Z