From 6982a54808a79989b23f73765a1852837b04c654 Mon Sep 17 00:00:00 2001 From: escoand Date: Sun, 20 Oct 2024 21:33:11 +0200 Subject: [PATCH] install wordpress1.container --- systemd/wordpress1.container | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/systemd/wordpress1.container b/systemd/wordpress1.container index ee738b8..f3b6577 100644 --- a/systemd/wordpress1.container +++ b/systemd/wordpress1.container @@ -1,5 +1,7 @@ [Unit] Description=Wordpress 1 +After=mariadb.container +Wants=mariadb.container [Container] ContainerName=wordpress1 @@ -20,4 +22,7 @@ Secret=WORDPRESS1_NONCE_KEY,type=env,target=WORDPRESS_NONCE_KEY Secret=WORDPRESS1_NONCE_SALT,type=env,target=WORDPRESS_NONCE_SALT Secret=WORDPRESS1_SECURE_AUTH_KEY,type=env,target=WORDPRESS_SECURE_AUTH_KEY Secret=WORDPRESS1_SECURE_AUTH_SALT,type=env,target=WORDPRESS_SECURE_AUTH_SALT -Volume=wordpress1:/var/www/html/wp-content:z \ No newline at end of file +Volume=wordpress1:/var/www/html/wp-content:z + +[Install] +WantedBy=multi-user.target default.target \ No newline at end of file