Docker + nginx + MySQL + PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
460 B

12 months ago
version: '3'
12 months ago
services:
12 months ago
nginx:
image: helloz/nginx:alpine-1.24.0
container_name: nginx
12 months ago
#environment:
network_mode: "host"
volumes:
- ../wwwroot:/var/www/html
- ./conf/nginx.conf:/usr/local/nginx/conf/nginx.conf
12 months ago
- ./conf/vhost:/usr/local/nginx/conf/vhost
- ./conf/stream:/usr/local/nginx/conf/stream
- ./logs:/usr/local/nginx/logs
- ./ssl:/usr/local/nginx/conf/ssl
12 months ago
restart:
always