Update 'documentation/setup.md'
This commit is contained in:
@@ -77,12 +77,7 @@ After starting stack:
|
|||||||
1) Recreate stack gitea _[Docker Compose](../docker/docker-compose.yaml)_ with original read only restrictions on duplicati volumes
|
1) Recreate stack gitea _[Docker Compose](../docker/docker-compose.yaml)_ with original read only restrictions on duplicati volumes
|
||||||
1) Confirm everything is ok and running
|
1) Confirm everything is ok and running
|
||||||
1) Return to duplicati on schedule job add script to run-script-before-required /data/myScripts/backupdb.sh
|
1) Return to duplicati on schedule job add script to run-script-before-required /data/myScripts/backupdb.sh
|
||||||
1) Execute a backup, ir error related with db security
|
1) Execute a backup
|
||||||
1)Enter on mysqlserver bash
|
|
||||||
1)msqyl -uroot -p
|
|
||||||
1)use root password
|
|
||||||
1)GRANT PROCESS ON *.* TO <$MYSQL_USER Docker enviroment>;
|
|
||||||
1)flush privileges;
|
|
||||||
1) Reenable Scheduling
|
1) Reenable Scheduling
|
||||||
|
|
||||||
### Database
|
### Database
|
||||||
@@ -104,6 +99,14 @@ mysql --host db -uroot -p ${MYSQL_DATABASE} < /db-dumps/$DB_FILE
|
|||||||
#enter root password (root password is in enviromnent variable ${MYSQL_ROOT_PASSWORD})
|
#enter root password (root password is in enviromnent variable ${MYSQL_ROOT_PASSWORD})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
if problems with security when executing msqldump
|
||||||
|
```bash
|
||||||
|
mysql --host db -uroot -p ${MYSQL_DATABASE}
|
||||||
|
#enter root password (root password is in enviromnent variable ${MYSQL_ROOT_PASSWORD})
|
||||||
|
#and execute repace value $MYSQL_USER with environment variable value
|
||||||
|
GRANT PROCESS ON *.* TO $MYSQL_USER;
|
||||||
|
```
|
||||||
|
|
||||||
### network related
|
### network related
|
||||||
|
|
||||||
If ip changed. change dns servers (git.lan) and reverse proxy (git.limbosoluttions.com) to new ip.
|
If ip changed. change dns servers (git.lan) and reverse proxy (git.limbosoluttions.com) to new ip.
|
||||||
Reference in New Issue
Block a user