mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
added initial download script
This commit is contained in:
parent
76fc172493
commit
12f70ab303
3 changed files with 10 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ FRAPPE_SITE_NAME_HEADER=$$host # Use $$host for multi-site support
|
|||
LANGCHAIN_ENV=production
|
||||
LANGCHAIN_DEBUG=false
|
||||
|
||||
# Optional, for site backup downloading:
|
||||
HETZNER_SSH_PASSWORD=""
|
||||
|
||||
# Optional: Custom Image Tags (for development)
|
||||
# CUSTOM_TAG=develop
|
||||
# LANGCHAIN_TAG=develop
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -9,6 +9,7 @@ development/*
|
|||
!development/installer.py
|
||||
!development/apps-example.json
|
||||
!development/vscode-example/
|
||||
!development/download-backups.sh
|
||||
|
||||
# Pycharm
|
||||
.idea
|
||||
|
|
|
|||
6
development/download-backups.sh
Normal file
6
development/download-backups.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Download backups from production server
|
||||
|
||||
# Load environment variables from .env file
|
||||
source .env
|
||||
|
||||
sshpass -p "$HETZNER_SSH_PASSWORD" scp -r root@188.245.211.114:/var/lib/docker/volumes/frappe-deployment_sites/_data/qa.ignis.academy/private/backups/ ./development
|
||||
Loading…
Reference in a new issue