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

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