change deployment setup; notes, todo;
This commit is contained in:
@ -55,10 +55,11 @@ services:
|
||||
networks:
|
||||
- infrastructure_default
|
||||
command: |
|
||||
"apk update && \
|
||||
apk update && \
|
||||
apk add --no-cache mariadb-client mariadb-connector-c && \
|
||||
echo '0 2 * * * mysqldump -h $$MYSQL_HOST -P 3306 -u$$MYSQL_USER -p$$MYSQL_PASSWORD $$MYSQL_DATABASE > /backup/$$(date +\\%Y-\\%m-\\%d-\\%H\\%M\\%S)-$$MYSQL_DATABASE.sql' > /etc/crontabs/root && \
|
||||
crond -f -d 8"
|
||||
echo '0 7 * * * rclone sync /backup nextcloud:/mwitnessing' >> /etc/crontabs/root && \
|
||||
crond -f -d 8
|
||||
# wget -q https://github.com/prasmussen/gdrive/releases/download/2.1.0/gdrive-linux-x64 -O /usr/bin/gdrive && \
|
||||
# chmod +x /usr/bin/gdrive && \
|
||||
# gdrive about --service-account /root/.gdrive_service_account.json && \
|
||||
|
@ -7,5 +7,10 @@ server {
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
# Prevent caching
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
|
||||
add_header Pragma "no-cache";
|
||||
add_header Expires "0";
|
||||
}
|
||||
}
|
||||
|
@ -241,3 +241,9 @@ in schedule admin - if a publisher is always pair & family is not in the shift -
|
||||
[] fix statistics
|
||||
[] add notification to statistics info
|
||||
[] fix logins (apple/azure)
|
||||
|
||||
|
||||
[x] make test notification for user
|
||||
[] add Congregation field
|
||||
[] use original assignment when scheduling
|
||||
[]
|
||||
|
@ -229,7 +229,7 @@ rclone sync /path/to/local/folder gdrive:target-folder
|
||||
rclone sync /backup nextcloud:/mwitnessing [--dry-run] [--progress]
|
||||
rclone sync /backup nextcloud:/mwitnessing --dry-run --progress
|
||||
crontab -e
|
||||
0 7 * * * /backup nextcloud:/mwitnessing
|
||||
0 7 * * * rclone sync /backup nextcloud:/mwitnessing
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user