Add a new volume that allows blocker to write to nginx's local disk.

This commit is contained in:
Ivaylo Novakov 2021-12-09 17:51:40 +01:00
parent bf5aa247dd
commit dfdd981212
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,8 @@ services:
logging: *default-logging
env_file:
- .env
volumes:
- ./docker/data/nginx/blocker:/data/nginx/blocker
expose:
- 4000
networks:

View File

@ -67,6 +67,7 @@ services:
volumes:
- ./docker/nginx/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
- ./docker/data/nginx/cache:/data/nginx/cache
- ./docker/data/nginx/blocker:/data/nginx/blocker
- ./docker/data/nginx/logs:/usr/local/openresty/nginx/logs
- ./docker/data/nginx/skynet:/data/nginx/skynet:ro
- ./docker/data/sia/apipassword:/data/sia/apipassword:ro