tpotce/docker/nginx/docker-compose.yml

28 lines
591 B
YAML
Raw Normal View History

2018-02-16 14:17:34 +00:00
# T-Pot (Standard)
# For docker-compose ...
version: '2.2'
services:
# nginx service
nginx:
2018-03-29 16:21:00 +00:00
build: .
2018-02-16 14:17:34 +00:00
container_name: nginx
restart: always
2018-03-29 16:21:00 +00:00
tmpfs:
- /var/tmp/nginx/client_body
- /var/tmp/nginx/proxy
- /var/tmp/nginx/fastcgi
- /var/tmp/nginx/uwsgi
- /var/tmp/nginx/scgi
- /run
2018-02-16 14:17:34 +00:00
network_mode: "host"
ports:
- "64297:64297"
2018-03-29 16:21:00 +00:00
image: "dtagdevsec/nginx:1804"
read_only: true
2018-02-16 14:17:34 +00:00
volumes:
- /data/nginx/cert/:/etc/nginx/cert/
- /data/nginx/conf/nginxpasswd:/etc/nginx/nginxpasswd
- /data/nginx/log/:/var/log/nginx/