Add WordPress (#1679)
* Add WordPress * update docker-composer.yml and config.json according to runtipi-appstore requested changes * update docker-composer.yml and config.json according to runtipi-appstore requested changes * README.md updated with wordpress added in Apps available * refactor(wordpress): remove the db user var --------- Co-authored-by: Stavros <steveiliop56@gmail.com>
This commit is contained in:
parent
19b277df94
commit
f953328ccf
|
@ -164,6 +164,7 @@ This is the official repository for the Tipi App Store. It contains all the apps
|
|||
- [Wireguard Easy](https://github.com/WeeJeWel/wg-easy) - WireGuard VPN + Web-based Admin UI
|
||||
- [WikiJS](https://github.com/requarks/wiki) - A modern and powerful wiki app built on Node.js
|
||||
- [Wizarr](https://github.com/Wizarrrr/wizarr) - Wizarr is an advanced user invitation and management system for Jellyfin, Plex, Emby etc.
|
||||
- [WordPress](https://github.com/WordPress/WordPress) - WordPress is a popular content management system for creating websites and blogs.
|
||||
- [Your Spotify](https://github.com/Yooooomi/your_spotify) - Self hosted Spotify tracking dashboard
|
||||
- [ZeroTier](https://github.com/zerotier/ZeroTierOne) - Easy to use zero configuration VPN.
|
||||
- [Zipline](https://github.com/diced/zipline) - A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
|
||||
|
|
33
apps/wordpress/config.json
Normal file
33
apps/wordpress/config.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"name": "WordPress",
|
||||
"available": true,
|
||||
"port": 8213,
|
||||
"exposable": true,
|
||||
"id": "wordpress",
|
||||
"description": "WordPress is a popular content management system for creating websites and blogs.",
|
||||
"tipi_version": 1,
|
||||
"version": "6.4.1",
|
||||
"categories": ["social"],
|
||||
"short_desc": "Popular CMS for websites and blogs",
|
||||
"author": "WordPress.org",
|
||||
"source": "https://github.com/WordPress/WordPress",
|
||||
"website": "https://wordpress.org",
|
||||
"form_fields": [
|
||||
{
|
||||
"type": "random",
|
||||
"label": "Database Password",
|
||||
"min": 32,
|
||||
"env_variable": "DB_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "random",
|
||||
"label": "Database Root Password",
|
||||
"min": 32,
|
||||
"env_variable": "DB_ROOT_PASSWORD"
|
||||
}
|
||||
],
|
||||
"supported_architectures": [
|
||||
"amd64",
|
||||
"arm64"
|
||||
]
|
||||
}
|
59
apps/wordpress/docker-compose.yml
Normal file
59
apps/wordpress/docker-compose.yml
Normal file
|
@ -0,0 +1,59 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
|
||||
wordpress:
|
||||
container_name: wordpress
|
||||
image: wordpress:6.4.1
|
||||
environment:
|
||||
- WORDPRESS_DB_HOST=wordpress-db
|
||||
- WORDPRESS_DB_NAME=wordpress
|
||||
- WORDPRESS_DB_USER=tipi
|
||||
- WORDPRESS_DB_PASSWORD=${DB_PASSWORD}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/wordpress:/var/www/html
|
||||
ports:
|
||||
- ${APP_PORT}:80
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- wordpress-db
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.wordpress-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.wordpress-web.loadbalancer.server.port: 80
|
||||
# Web
|
||||
traefik.http.routers.wordpress-web-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.wordpress-web-insecure.entrypoints: web
|
||||
traefik.http.routers.wordpress-web-insecure.service: wordpress-web
|
||||
traefik.http.routers.wordpress-web-insecure.middlewares: wordpress-web-redirect
|
||||
# Websecure
|
||||
traefik.http.routers.wordpress-web.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.wordpress-web.entrypoints: websecure
|
||||
traefik.http.routers.wordpress-web.service: wordpress-web
|
||||
traefik.http.routers.wordpress-web.tls.certresolver: myresolver
|
||||
# Local domain
|
||||
traefik.http.routers.wordpress-web-local-insecure.rule: Host(`wordpress-web.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.wordpress-web-local-insecure.entrypoints: web
|
||||
traefik.http.routers.wordpress-web-local-insecure.service: wordpress-web
|
||||
traefik.http.routers.wordpress-web-local-insecure.middlewares: wordpress-web-redirect
|
||||
# Local domain secure
|
||||
traefik.http.routers.wordpress-web-local.rule: Host(`wordpress-web.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.wordpress-web-local.entrypoints: websecure
|
||||
traefik.http.routers.wordpress-web-local.service: wordpress-web
|
||||
traefik.http.routers.wordpress-web-local.tls: true
|
||||
|
||||
wordpress-db:
|
||||
container_name: wordpress-db
|
||||
image: mariadb:11.1.3
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=wordpress
|
||||
- MYSQL_USER=tipi
|
||||
- MYSQL_PASSWORD=${DB_PASSWORD}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/mariadb:/var/lib/mysql
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- tipi_main_network
|
39
apps/wordpress/metadata/description.md
Normal file
39
apps/wordpress/metadata/description.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
# WordPress - The Ultimate Content Management System
|
||||
|
||||
WordPress is the quintessential content management system (CMS) that has revolutionized the way websites and blogs are created, managed, and published on the internet. With its robust features, unparalleled flexibility, and user-friendly interface, WordPress has become the go-to choice for individuals, businesses, and organizations of all sizes.
|
||||
|
||||
## Unleash Your Creativity
|
||||
|
||||
Whether you're a seasoned web developer or a novice blogger, WordPress empowers you to bring your digital vision to life. Create stunning websites, blogs, portfolios, e-commerce platforms, and more with ease. Customize every aspect of your site, from layout and design to functionality and user experience.
|
||||
|
||||
## Endless Possibilities with Themes and Plugins
|
||||
|
||||
WordPress boasts an extensive library of themes and plugins that cater to every niche and purpose. Choose from thousands of free and premium themes to give your website a unique and polished look. Enhance your site's functionality with plugins that add features like contact forms, SEO optimization, e-commerce capabilities, and social media integration.
|
||||
|
||||
## SEO-Friendly and Mobile-Responsive
|
||||
|
||||
WordPress is designed with search engine optimization (SEO) in mind, making it easier for your content to rank higher on search engine results pages. Additionally, WordPress themes are mobile-responsive by default, ensuring that your site looks great and functions seamlessly on smartphones, tablets, and desktops.
|
||||
|
||||
## Community and Support
|
||||
|
||||
Join a global community of WordPress enthusiasts, developers, and experts who are always ready to lend a helping hand. With an extensive array of documentation, forums, and tutorials, you'll never be alone on your WordPress journey. Stay up-to-date with the latest trends and best practices in web development and design.
|
||||
|
||||
## Open Source and Constant Innovation
|
||||
|
||||
WordPress is open-source software, which means it's free to use, modify, and distribute. The platform is continually evolving, with regular updates and improvements to enhance security, performance, and usability. Benefit from a future-proof CMS that adapts to the ever-changing digital landscape.
|
||||
|
||||
## Get Started Today
|
||||
|
||||
Whether you're building a personal blog, a corporate website, an online store, or a community forum, WordPress provides the tools and resources you need to succeed. Begin your WordPress journey today and experience the limitless possibilities of the web.
|
||||
|
||||
**Official Website:** [WordPress.org](https://wordpress.org)
|
||||
|
||||
**GitHub Repository:** [WordPress on GitHub](https://github.com/WordPress/WordPress)
|
||||
|
||||
**Documentation:** [WordPress Codex](https://codex.wordpress.org/)
|
||||
|
||||
**Support and Community:** [WordPress Support Forums](https://wordpress.org/support/)
|
||||
|
||||
**WordPress Plugins:** [WordPress Plugin Directory](https://wordpress.org/plugins/)
|
||||
|
||||
**WordPress Themes:** [WordPress Theme Directory](https://wordpress.org/themes/)
|
BIN
apps/wordpress/metadata/logo.jpg
Normal file
BIN
apps/wordpress/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
Reference in New Issue
Block a user