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 committed by PJ
parent 5b4105df45
commit 018844d124
No known key found for this signature in database
GPG Key ID: F345964979FA8971
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -67,6 +67,7 @@ services:
volumes: volumes:
- ./docker/nginx/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro - ./docker/nginx/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
- ./docker/data/nginx/cache:/data/nginx/cache - ./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/logs:/usr/local/openresty/nginx/logs
- ./docker/data/nginx/skynet:/data/nginx/skynet:ro - ./docker/data/nginx/skynet:/data/nginx/skynet:ro
- ./docker/data/sia/apipassword:/data/sia/apipassword:ro - ./docker/data/sia/apipassword:/data/sia/apipassword:ro