mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Update backup wordpress
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
84986db7b1
commit
a15380b95c
@ -114,6 +114,11 @@ MARIADB_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
|||||||
MARIADB_DATABASE=wordpress
|
MARIADB_DATABASE=wordpress
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For [wordpress_backup.env](infrastructure/wordpress/env/wordpress_backup.env) file, you need to change the password(s) for the restic backup.
|
||||||
|
```sh
|
||||||
|
RESTIC_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||||
|
```
|
||||||
|
|
||||||
For [adminer.env](infrastructure/wordpress/env/adminer.env) file, you need to change the password(s) and user for the database.
|
For [adminer.env](infrastructure/wordpress/env/adminer.env) file, you need to change the password(s) and user for the database.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -48,7 +48,7 @@ services:
|
|||||||
- wordpress
|
- wordpress
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
env_file:
|
env_file:
|
||||||
- ./wordpress/env/backup.env
|
- ./wordpress/env/wordpress_backup.env
|
||||||
volumes:
|
volumes:
|
||||||
- wordpress_backup:/mnt/restic
|
- wordpress_backup:/mnt/restic
|
||||||
- wordpress_db:/data/wordpress_db:ro
|
- wordpress_db:/data/wordpress_db:ro
|
||||||
|
Loading…
Reference in New Issue
Block a user