From a15380b95ca133de59430cf3e67a037a8fd39230 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sun, 25 Aug 2024 14:56:02 +0200 Subject: [PATCH] Update backup wordpress Signed-off-by: Bensuperpc --- README.md | 5 +++++ infrastructure/wordpress/docker-compose.wordpress.yml | 2 +- .../wordpress/env/{backup.env => wordpress_backup.env} | 0 3 files changed, 6 insertions(+), 1 deletion(-) rename infrastructure/wordpress/env/{backup.env => wordpress_backup.env} (100%) diff --git a/README.md b/README.md index cd7fc15..690f44e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/infrastructure/wordpress/docker-compose.wordpress.yml b/infrastructure/wordpress/docker-compose.wordpress.yml index 327e48d..f811282 100644 --- a/infrastructure/wordpress/docker-compose.wordpress.yml +++ b/infrastructure/wordpress/docker-compose.wordpress.yml @@ -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 diff --git a/infrastructure/wordpress/env/backup.env b/infrastructure/wordpress/env/wordpress_backup.env similarity index 100% rename from infrastructure/wordpress/env/backup.env rename to infrastructure/wordpress/env/wordpress_backup.env