2024-11-27 20:28:36 +01:00
|
|
|
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
|
2024-11-27 21:34:26 +01:00
|
|
|
- ./ssl:/etc/nginx/ssl:Z
|