nginx-dev/docker-compose.yml

16 lines
380 B
YAML
Raw Permalink 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
2024-11-27 21:07:36 +01:00
- ./data/mysql/:/var/lib/mysql/:Z
- ./ssl:/etc/nginx/ssl:Z