Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Vvveb CMS #1142

Merged
merged 1 commit into from
Aug 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions public/v4/apps/vvveb-only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
captainVersion: 4
services:
$$cap_appname-vvveb:
image: vvveb/vvvebcms:$$cap_vvveb_version
volumes:
- $$cap_appname-vvveb-data:/var/www/html
restart: always
environment:
DB_ENGINE: $$cap_db_type
DB_HOST: $$cap_db_host
DB_DATABASE: $$cap_db_name
DB_USER: $$cap_db_user
DB_PASSWORD: $$cap_db_pass
caproverOneClickApp:
variables:
- id: $$cap_db_type
label: Database Type
defaultValue: mysqli
description: You can either choose mysqli, sqlite or pgsql. It is case sensitive. SQLite does not need further database configuration.
validRegex: /^(mysqli|sqlite|pgsql)$/
- description: Database host
defaultValue: srv-captain--xxx
id: $$cap_db_host
label: Database Host
- description: Database name
defaultValue: vvveb
id: $$cap_db_name
label: DB Name
- id: $$cap_db_user
label: Database user
defaultValue: vvvebuser
- id: $$cap_db_pass
label: Database password
description: ''
validRegex: /.{1,}/
defaultValue: $$cap_gen_random_hex(16)
- id: $$cap_vvveb_version
label: Vvveb Version
defaultValue: 'php8.3-fpm-alpine'
description: Check out their Docker page for the valid tags https://hub.docker.com/r/vvveb/vvvebcms/tags
validRegex: /^([^\s^\/])+$/
instructions:
start: >-
Powerful and easy to use cms to build websites, blogs or ecommerce stores..

Enter your Vvveb Configuration parameters and click on next. A Vvveb container will be created for you. The process will take about a minute to finish.

Note: This app is intended for advanced users who'd like to have a central DB in a single container for multiple Vvveb instances. You should start by configuring your DB first and then comeback with all the DB Information.
end: >-
Vvveb is deployed and available as $$cap_appname-vvveb .

IMPORTANT: It will take up to 1 minute for Vvveb to be ready. Before that, you might see a 502 error page.

Remember that this app will not create a Database by itself. You need to provide all that information.
displayName: Vvveb CMS - No Database
isOfficial: true
description: This will create a Vvveb CMS instance only. You will need to create and configure the database information manually. Intended for advanced users.
documentation: Taken from https://hub.docker.com/r/vvveb/vvvebcms.
65 changes: 65 additions & 0 deletions public/v4/apps/vvveb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
captainVersion: 4
services:
$$cap_appname-db:
image: $$cap_db_type:$$cap_database_version
volumes:
- $$cap_appname-db-data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: $$cap_db_pass
MYSQL_DATABASE: vvveb
MYSQL_USER: $$cap_db_user
MYSQL_PASSWORD: $$cap_db_pass
caproverExtra:
notExposeAsWebApp: 'true'
$$cap_appname-vvveb:
depends_on:
- $$cap_appname-db
image: vvveb/vvvebcms:$$cap_vvveb_version
volumes:
- $$cap_appname-vvveb-data:/var/www/html
restart: always
environment:
DB_HOST: srv-captain--$$cap_appname-db
DB_USER: $$cap_db_user
DB_PASSWORD: $$cap_db_pass
DB_ENGINE: mysqli #sqlite,pgsql
caproverOneClickApp:
variables:
- id: $$cap_db_user
label: Database user
defaultValue: vvvebuser
validRegex: /^([a-zA-Z0-9])+$/
- id: $$cap_db_pass
label: Database password
description: ''
validRegex: /^(\w|[^\s"'\\])+$/
defaultValue: $$cap_gen_random_hex(16)
- id: $$cap_vvveb_version
label: Vvveb Version
defaultValue: 'php8.3-fpm-alpine'
description: Check out their Docker page for the valid tags https://hub.docker.com/r/vvveb/vvvebcms/tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_db_type
label: Database Type
defaultValue: mysql
description: You can either choose mariadb or mysql, you need to change the version according to which DB is selected. It is case sensitive.
validRegex: /^(mysql|mariadb)$/
- id: $$cap_database_version
label: Database Version, default is MySQL
defaultValue: '8.4.2'
description: Check out the Docker pages for the valid tags https://hub.docker.com/r/library/mysql/tags/ or https://hub.docker.com/_/mariadb?tab=tags
validRegex: /^([^\s^\/])+$/
instructions:
start: >-
Powerful and easy to use cms to build websites, blogs or ecommerce stores..

Enter your Vvveb CMS Configuration parameters and click on next. A MySQL (database) and a Vvveb container will be created for you. The process will take about a minute to finish.
end: >
Vvveb CMS is deployed and available as $$cap_appname-vvveb .

IMPORTANT: It will take up to 1 minute for Vvveb CMS to be ready. Before that, you might see a 502 error page.
displayName: Vvveb CMS
isOfficial: true
description: Vvveb is a content management system based on PHP and MySQL that is usually used with the MySQL or MariaDB database
documentation: Taken from https://hub.docker.com/r/vvveb/vvvebcms
Binary file added public/v4/logos/vvveb-only.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/v4/logos/vvveb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading