version: '3'
services:
nginx:
image: nginx
container_name: nginx
restart: always
privileged: true
ports:
- 80:80
- 443:443
networks:
- net_db
volumes:
#- ./conf.d:/etc/nginx/conf.d
- ./log:/var/log/nginx
#- ./conf/nginx.conf:/etc/nginx/nginx.conf:ro
environment:
- "TZ=Asia/Shanghai"
networks:
net_db:
external: true
评论
发表评论