15 lines
357 B
YAML
15 lines
357 B
YAML
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
|