Update backup wordpress

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-08-25 14:56:02 +02:00
parent 84986db7b1
commit a15380b95c
3 changed files with 6 additions and 1 deletions

View File

@ -114,6 +114,11 @@ MARIADB_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
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.
```sh

View File

@ -48,7 +48,7 @@ services:
- wordpress
restart: on-failure:5
env_file:
- ./wordpress/env/backup.env
- ./wordpress/env/wordpress_backup.env
volumes:
- wordpress_backup:/mnt/restic
- wordpress_db:/data/wordpress_db:ro