From 73c459e4f3f505956f5541423aab0beedf8d7785 Mon Sep 17 00:00:00 2001 From: al-lac Date: Wed, 18 Dec 2024 01:11:44 +0100 Subject: [PATCH 1/5] App Submission: WordPress --- wordpress/data/db/.gitkeep | 0 wordpress/data/wordpress/.gitkeep | 0 wordpress/docker-compose.yml | 29 +++++++++++++++++++++++ wordpress/umbrel-app.yml | 38 +++++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 wordpress/data/db/.gitkeep create mode 100644 wordpress/data/wordpress/.gitkeep create mode 100644 wordpress/docker-compose.yml create mode 100644 wordpress/umbrel-app.yml diff --git a/wordpress/data/db/.gitkeep b/wordpress/data/db/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/wordpress/data/wordpress/.gitkeep b/wordpress/data/wordpress/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/wordpress/docker-compose.yml b/wordpress/docker-compose.yml new file mode 100644 index 0000000000..1b3301ee2f --- /dev/null +++ b/wordpress/docker-compose.yml @@ -0,0 +1,29 @@ +version: "3.7" +services: + app: + image: wordpress:6.7.1@sha256:2f3572d5cd722489fe47d59ed45d947dc9507f5a019eb0567ddf24aedf9257ed + user: "1000:1000" + environment: + - WORDPRESS_DB_HOST=wordpress_db_1 + - WORDPRESS_DB_NAME=wordpress + - WORDPRESS_DB_USER=umbrel + - WORDPRESS_DB_PASSWORD=umbrelwordpress + volumes: + - ${APP_DATA_DIR}/data/wordpress:/var/www/html + ports: + - "8567:80" + restart: on-failure + depends_on: + - db + + db: + image: mariadb:11.5.2@sha256:2d50fe0f77dac919396091e527e5e148a9de690e58f32875f113bef6506a17f5 + user: "1000:1000" + environment: + - MYSQL_ROOT_PASSWORD=umbrelwordpressroot + - MYSQL_DATABASE=wordpress + - MYSQL_USER=umbrel + - MYSQL_PASSWORD=umbrelwordpress + volumes: + - ${APP_DATA_DIR}/data/db:/var/lib/mysql + restart: on-failure diff --git a/wordpress/umbrel-app.yml b/wordpress/umbrel-app.yml new file mode 100644 index 0000000000..08a161d47e --- /dev/null +++ b/wordpress/umbrel-app.yml @@ -0,0 +1,38 @@ +manifestVersion: 1 +id: wordpress +name: WordPress +tagline: The open source publishing platform of choice for millions of websites worldwide +category: social +version: "6.7.1" +port: 8567 +description: >- + 📚 **Empower Your Digital Voice** – The open-source publishing platform trusted by millions. From personal blogs to enterprise portals, WordPress gives everyone the tools to share their stories. + + + ✨ **Unleash Your Creativity** – Choose from thousands of themes and plugins, craft your unique design, and make your site truly your own. + + + 🤝 **Join a Global Community** – Connect with creators, developers, and enthusiasts worldwide. Together, shape the future of the open web. + + + ⚙️ **Customize & Extend** – Seamless integrations, custom code, and unlimited flexibility—unlock endless possibilities for growth and innovation. + + + **Note:** WordPress can be used locally within your network. However, if you want others outside your local network to access your instance, you'll need to make it accessible on the public internet. + If you have a domain name, you can set this up using the Cloudflare Tunnel or Nginx Proxy Manager apps in the Umbrel App Store. + + + For it to work you need to set the **WordPress Address (URL)** and **Site Address (URL)** to your domain name in the WordPress settings. + Also make sure to set the **correct headers** in the Nginx Proxy Manager or Cloudflare Tunnel app. More information can be found here: https://developer.wordpress.org/advanced-administration/security/https/#using-a-reverse-proxy +developer: WordPress +website: https://wordpress.org/ +submitter: al-lac +submission: https://github.com/getumbrel/umbrel-apps/pull/1947 +repo: https://github.com/WordPress/WordPress +support: https://wordpress.org/support/forums/ +gallery: [] +defaultUsername: "" +defaultPassword: "" +dependencies: [] +releaseNotes: "" +path: "" From 74872bce5b94f7d801313af2f0fb14aa64787e72 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Mon, 13 Jan 2025 15:23:39 +1000 Subject: [PATCH 2/5] add gallery assets --- wordpress/umbrel-app.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wordpress/umbrel-app.yml b/wordpress/umbrel-app.yml index 08a161d47e..f41e3a77de 100644 --- a/wordpress/umbrel-app.yml +++ b/wordpress/umbrel-app.yml @@ -30,7 +30,10 @@ submitter: al-lac submission: https://github.com/getumbrel/umbrel-apps/pull/1947 repo: https://github.com/WordPress/WordPress support: https://wordpress.org/support/forums/ -gallery: [] +gallery: + - 1.jpg + - 2.jpg + - 3.jpg defaultUsername: "" defaultPassword: "" dependencies: [] From 5a10176372ef64fd96debc40fd0c0bd07b1ea9a3 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Mon, 13 Jan 2025 16:42:41 +1000 Subject: [PATCH 3/5] Add app_proxy --- wordpress/docker-compose.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wordpress/docker-compose.yml b/wordpress/docker-compose.yml index 1b3301ee2f..f08b1c0bda 100644 --- a/wordpress/docker-compose.yml +++ b/wordpress/docker-compose.yml @@ -1,5 +1,11 @@ version: "3.7" -services: +services: + app_proxy: + environment: + APP_HOST: wordpress_app_1 + APP_PORT: 80 + PROXY_AUTH_ADD: "false" + app: image: wordpress:6.7.1@sha256:2f3572d5cd722489fe47d59ed45d947dc9507f5a019eb0567ddf24aedf9257ed user: "1000:1000" @@ -10,8 +16,6 @@ services: - WORDPRESS_DB_PASSWORD=umbrelwordpress volumes: - ${APP_DATA_DIR}/data/wordpress:/var/www/html - ports: - - "8567:80" restart: on-failure depends_on: - db From a36aeaad7755107ddc153e68624bddf886175c7a Mon Sep 17 00:00:00 2001 From: nmfretz Date: Mon, 13 Jan 2025 17:01:14 +1000 Subject: [PATCH 4/5] Tweak app description --- wordpress/umbrel-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress/umbrel-app.yml b/wordpress/umbrel-app.yml index f41e3a77de..ba6ea0c14c 100644 --- a/wordpress/umbrel-app.yml +++ b/wordpress/umbrel-app.yml @@ -19,7 +19,7 @@ description: >- **Note:** WordPress can be used locally within your network. However, if you want others outside your local network to access your instance, you'll need to make it accessible on the public internet. - If you have a domain name, you can set this up using the Cloudflare Tunnel or Nginx Proxy Manager apps in the Umbrel App Store. + If you have a domain name, the easiest way to make it accessible is to use the Cloudflare Tunnel or Nginx Proxy Manager apps in the Umbrel App Store and point your domain name to "http://wordpress_app_1" (port 80). For it to work you need to set the **WordPress Address (URL)** and **Site Address (URL)** to your domain name in the WordPress settings. From 62141faa06ab3f7bc5075afaabb2c8193388c0d4 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Mon, 13 Jan 2025 17:02:15 +1000 Subject: [PATCH 5/5] Add path in manifest to /wp-admin --- wordpress/umbrel-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress/umbrel-app.yml b/wordpress/umbrel-app.yml index ba6ea0c14c..3d8465e080 100644 --- a/wordpress/umbrel-app.yml +++ b/wordpress/umbrel-app.yml @@ -38,4 +38,4 @@ defaultUsername: "" defaultPassword: "" dependencies: [] releaseNotes: "" -path: "" +path: "/wp-admin"