tpotce/docker/nginx/docker-compose.yml

29 lines
719 B
YAML
Raw Normal View History

2020-01-24 02:21:33 +00:00
services:
# nginx service
nginx:
build: .
2024-02-15 17:32:16 +00:00
# environment:
2020-01-24 02:21:33 +00:00
container_name: nginx
restart: always
2020-01-24 15:16:25 +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
2020-01-27 17:03:44 +00:00
- /var/lib/nginx/tmp:uid=100,gid=82
2022-03-13 10:19:08 +00:00
# cpu_count: 1
# cpus: 0.75
2020-01-24 02:21:33 +00:00
network_mode: "host"
# ports:
# - "64297:64297"
# - "127.0.0.1:64304:64304"
2024-03-24 18:22:37 +00:00
image: "dtagdevsec/nginx:24.04"
2022-01-29 00:45:41 +00:00
read_only: true
2020-01-24 02:21:33 +00:00
volumes:
- $HOME/tpotce/data/nginx/cert/:/etc/nginx/cert/:ro
- $HOME/tpotce/data/nginx/conf/nginxpasswd:/etc/nginx/nginxpasswd:ro
- $HOME/tpotce/data/nginx/log/:/var/log/nginx/