Adds logs mount to pf service and adds logrotate
This commit is contained in:
parent
bc27392df9
commit
c62062f956
5 changed files with 7 additions and 4 deletions
|
|
@ -17,5 +17,6 @@ cp ./development/xdebug.ini ./static/php/xdebug.ini
|
|||
mkdir -p .vscode && cp ./development/launch.json ./.vscode/launch.json
|
||||
|
||||
# seed .env file with dev presets
|
||||
echo "path=\"$(pwd)\"" > ./.env
|
||||
echo "PROJECT_ROOT=\"$(pwd)\"" > ./.env
|
||||
cat ./development/.env.development >> ./.env
|
||||
echo "Remember to set your CCP SSO Client and Secret keys"
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
@ -68,6 +67,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue