tpotce/docker/heimdall/docker-compose.yml

38 lines
1.2 KiB
YAML
Raw Normal View History

2020-01-24 02:21:33 +00:00
version: '2.3'
services:
# nginx service
nginx:
build: .
container_name: nginx
restart: always
2020-01-27 17:03:44 +00:00
environment:
### If set to YES all changes within Heimdall will remain for the next start
### Make sure to uncomment the corresponding volume statements below, or the setting will prevent a successful start of T-Pot.
- HEIMDALL_PERSIST=NO
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
- /var/log/php7/
2020-01-27 17:03:44 +00:00
- /var/lib/nginx/tmp:uid=100,gid=82
2020-01-24 15:16:25 +00:00
- /var/lib/nginx/html/storage/logs:uid=100,gid=82
- /var/lib/nginx/html/storage/framework/views:uid=100,gid=82
2020-01-24 02:21:33 +00:00
network_mode: "host"
ports:
- "64297:64297"
- "127.0.0.1:64304:64304"
image: "dtagdevsec/nginx:2203"
2020-01-24 15:16:25 +00:00
read_only: true
2020-01-24 02:21:33 +00:00
volumes:
- /data/nginx/cert/:/etc/nginx/cert/:ro
- /data/nginx/conf/nginxpasswd:/etc/nginx/nginxpasswd:ro
- /data/nginx/log/:/var/log/nginx/
2020-01-27 17:03:44 +00:00
### Enable the following volumes if you set HEIMDALL_PERSIST=YES
# - /data/nginx/heimdall/database:/var/lib/nginx/html/database
# - /data/nginx/heimdall/storage:/var/lib/nginx/html/storage