Adds logs mount to pf service and adds logrotate

This commit is contained in:
Sam ONeill 2022-02-08 13:37:06 +13:00
parent bc27392df9
commit c62062f956
5 changed files with 7 additions and 4 deletions

View file

@ -36,7 +36,6 @@ services:
volumes:
- ${PROJECT_ROOT}/websocket:/app
- ${PROJECT_ROOT}/logs:/var/www/html/pathfinder/history/map
- ${PROJECT_ROOT}/static/socket/logrotate:/etc/logrotate.d/pathfinder
networks:
pf:
aliases:
@ -69,6 +68,7 @@ services:
- ${PROJECT_ROOT}/config/pathfinder/config.ini:/var/www/html/pathfinder/app/templateConfig.ini
- ${PROJECT_ROOT}/config/pathfinder/pathfinder.ini:/var/www/html/pathfinder/app/pathfinder.ini
- ${PROJECT_ROOT}/config/pathfinder/plugin.ini:/var/www/html/pathfinder/app/plugin.ini
- ${PROJECT_ROOT}/logs:/var/www/html/pathfinder/history/map
depends_on:
- pfdb
- pf-redis