citadel-apps/apps/wordpress/app.yml
2022-05-08 18:04:00 +00:00

49 lines
1.3 KiB
YAML

# SPDX-FileCopyrightText: 2022 Citadel and contributors
#
# SPDX-License-Identifier: AGPL-3.0-only
# yaml-language-server: $schema=../../app-standard-v3.yml
version: 3
metadata:
name: WordPress
version: 5.9.3
category: Blog
tagline: Host a blog on your Citadel
description: WordPress
developers:
WordPress Developers: https://wordpress.org
repo: https://github.com/WordPress/WordPress
support: https://wordpress.org
gallery:
- "1.png"
- "2.png"
- "3.png"
containers:
- name: main
image: wordpress:5.9.3-php8.1-apache@sha256:e9919ae91d250e953f8e1f8943b9cd7b970ed85a1410f02988f682f935704aa8
depends_on:
- db
data:
- data/wp:/var/www/html
port: 80
restart: always
environment:
WORDPRESS_DB_HOST: $APP_WORDPRESS_DB_IP
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: somewordpress
WORDPRESS_DB_NAME: wordpress
WORDPRESS_CONFIG_EXTRA: |
define('FS_METHOD','direct');
- name: db
image: mariadb:10.7.3-focal@sha256:07e06f2e7ae9dfc63707a83130a62e00167c827f08fcac7a9aa33f4b6dc34e0e
data:
- data/db:/var/lib/mysql
restart: always
environment:
MARIADB_ROOT_PASSWORD: somewordpress
MARIADB_DATABASE: wordpress
MARIADB_USER: wordpress
MARIADB_PASSWORD: wordpress