mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
28 lines
719 B
YAML
28 lines
719 B
YAML
services:
|
|
|
|
# nginx service
|
|
nginx:
|
|
build: .
|
|
# environment:
|
|
container_name: nginx
|
|
restart: always
|
|
tmpfs:
|
|
- /var/tmp/nginx/client_body
|
|
- /var/tmp/nginx/proxy
|
|
- /var/tmp/nginx/fastcgi
|
|
- /var/tmp/nginx/uwsgi
|
|
- /var/tmp/nginx/scgi
|
|
- /run
|
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
|
# cpu_count: 1
|
|
# cpus: 0.75
|
|
network_mode: "host"
|
|
# ports:
|
|
# - "64297:64297"
|
|
# - "127.0.0.1:64304:64304"
|
|
image: "dtagdevsec/nginx:24.04"
|
|
read_only: true
|
|
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/
|