Files
ServerKit/backend/templates/wordpress.yaml
T
Juan DenisandClaude Fable 5 586f556b93 Reference template icons through the serverkit.ai proxy
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 21:28:14 -04:00

91 lines
2.0 KiB
YAML

id: wordpress
name: WordPress
version: "6.4"
description: World's most popular content management system for blogs and websites
icon: https://serverkit.ai/imgs/template-icons/wordpress.png
website: https://wordpress.org
documentation: https://wordpress.org/documentation/
categories:
- cms
- blog
- website
variables:
- name: VERSION
description: WordPress image tag (WP core + PHP variant, e.g. 6.4-php8.2-apache)
type: string
default: "6.4-apache"
hidden: true
- name: HTTP_PORT
description: HTTP port
type: port
default: "8300"
hidden: true
- name: DB_PASSWORD
description: MySQL root password
type: password
generate: password
hidden: true
- name: WP_DB_PASSWORD
description: WordPress database password
type: password
generate: password
hidden: true
ports:
- port: 8080
protocol: tcp
description: Web interface
volumes:
- name: html
path: /var/www/html
description: WordPress files
- name: db
path: /var/lib/mysql
description: MySQL data
requirements:
memory: 1GB
storage: 5GB
compose:
services:
wordpress:
image: wordpress:${VERSION}
container_name: ${APP_NAME}
restart: unless-stopped
environment:
- WORDPRESS_DB_HOST=db
- WORDPRESS_DB_USER=wordpress
- WORDPRESS_DB_PASSWORD=${WP_DB_PASSWORD}
- WORDPRESS_DB_NAME=wordpress
volumes:
- wordpress_html:/var/www/html
ports:
- "${HTTP_PORT}:80"
depends_on:
- db
- redis
redis:
image: redis:7-alpine
container_name: ${APP_NAME}-redis
restart: unless-stopped
db:
image: mysql:8.0
container_name: ${APP_NAME}-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=${WP_DB_PASSWORD}
volumes:
- wordpress_db:/var/lib/mysql
volumes:
wordpress_html:
wordpress_db: