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

version: '3'
services:
nginx:
image: helloz/nginx:alpine-1.24.0
container_name: nginx
#environment:
network_mode: "host"
volumes:
- ../wwwroot:/var/www/html
- ./conf/nginx.conf:/usr/local/nginx/conf/nginx.conf
- ./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
restart:
always