-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.