summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStephen Davis <[email protected]>2021-12-21 18:10:11 -0500
committerGitHub <[email protected]>2021-12-21 15:10:11 -0800
commitcaf5d8e9090ee9eb94545d01897ec829144b35a9 (patch)
tree7197bf5923afcc672c6d53c76146cbff546077de
parenta5accea5d51e4847bb27f50e6d3049571f602661 (diff)
downloadcaprover-one-click-apps-caf5d8e9090ee9eb94545d01897ec829144b35a9.tar.gz
caprover-one-click-apps-caf5d8e9090ee9eb94545d01897ec829144b35a9.zip
Added app Redmine (with both PostgreSQL & MySQL) and corrected a minor error with URL for upshift/dolibarr tags (#581)
* Corrected URL for upshift/dolibarr tags * Added app Redmine (PostgreSQL) & Redmine (MySQL) * Ran prettier formatting
-rw-r--r--public/v4/apps/dolibarr.yml2
-rw-r--r--public/v4/apps/redmine-mysql.yml70
-rw-r--r--public/v4/apps/redmine.yml76
-rw-r--r--public/v4/logos/redmine-mysql.pngbin0 -> 63827 bytes
-rw-r--r--public/v4/logos/redmine.pngbin0 -> 63827 bytes
5 files changed, 147 insertions, 1 deletions
diff --git a/public/v4/apps/dolibarr.yml b/public/v4/apps/dolibarr.yml
index 02fd168..f116d2e 100644
--- a/public/v4/apps/dolibarr.yml
+++ b/public/v4/apps/dolibarr.yml
@@ -41,7 +41,7 @@ caproverOneClickApp:
- id: $$cap_dolibarr-version
label: Dolibarr Version
defaultValue: '11.0'
- description: Check out their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/
+ description: Check out their docker page for the valid tags https://hub.docker.com/r/upshift/dolibarr/tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_pg-pass
label: Postgres Password
diff --git a/public/v4/apps/redmine-mysql.yml b/public/v4/apps/redmine-mysql.yml
new file mode 100644
index 0000000..9ebd0e3
--- /dev/null
+++ b/public/v4/apps/redmine-mysql.yml
@@ -0,0 +1,70 @@
+captainVersion: 4
+services:
+ $$cap_appname-db:
+ image: mysql:$$cap_mysql_version
+ command: --default-authentication-plugin=mysql_native_password
+ restart: always
+ volumes:
+ - $$cap_appname-db-data:/var/lib/mysql
+ environment:
+ MYSQL_DATABASE: redmine
+ MYSQL_ROOT_PASSWORD: $$cap_mysql_password
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+
+ $$cap_appname:
+ depends_on:
+ - $$cap_appname-db
+ image: redmine:$$cap_redmine_version
+ environment:
+ REDMINE_DB_MYSQL: srv-captain--$$cap_appname-db
+ REDMINE_DB_PORT: 3306
+ REDMINE_DB_PASSWORD: $$cap_mysql_password
+ REDMINE_SECRET_KEY_BASE: $$cap_key_base
+ restart: always
+ volumes:
+ - $$cap_appname-data:/usr/src/redmine/files
+ caproverExtra:
+ containerHttpPort: '3000'
+
+caproverOneClickApp:
+ variables:
+ - id: $$cap_redmine_version
+ label: Redmine Version
+ defaultValue: 4.2.3
+ description: 'Check out their Docker page for the valid tags https://hub.docker.com/_/redmine?tab=tags'
+ - id: $$cap_mysql_version
+ label: MySQL Version
+ defaultValue: 5.7
+ description: 'Check out their Docker page for the valid tags https://hub.docker.com/_/mysql?tab=tags'
+ - id: $$cap_mysql_password
+ label: MySQL Password
+ defaultValue: $$cap_gen_random_hex(16)
+ - id: $$cap_key_base
+ label: Redmine Secret Key Base
+ defaultValue: $$cap_gen_random_hex(64)
+
+ instructions:
+ start: >-
+ Redmine is a flexible project management web application written using Ruby on Rails framework. For more info visit https://www.redmine.org/projects/redmine.
+
+
+ After installation, login to Redmine using the default credentials [admin:admin].
+ end: >-
+ ✅ Redmine has been successfully deployed and is now available at http://$$cap_appname.$$cap_root_domain!
+
+
+ 🔐 The default login credentials are:
+
+ Username: admin
+ Password: admin
+ --------------------------------------------
+
+ More information on initial configuration can be found at https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Configuration.
+
+ displayName: Redmine (MySQL)
+ isOfficial: true
+ description: >-
+ Redmine is a flexible project management web application written using Ruby on Rails framework. This app is packaged with MySQL.
+ documentation: >-
+ This docker-compose is taken from https://hub.docker.com/_/redmine?tab=description
diff --git a/public/v4/apps/redmine.yml b/public/v4/apps/redmine.yml
new file mode 100644
index 0000000..1288a1a
--- /dev/null
+++ b/public/v4/apps/redmine.yml
@@ -0,0 +1,76 @@
+captainVersion: 4
+services:
+ $$cap_appname-db:
+ image: postgres:$$cap_postgres_version
+ restart: always
+ volumes:
+ - $$cap_appname-db-data:/var/lib/postgresql/data
+ environment:
+ POSTGRES_USER: $$cap_postgres_user
+ POSTGRES_PASSWORD: $$cap_postgres_password
+ POSTGRES_DB: redmine
+ PGDATA: /var/lib/postgresql/data/pgdata
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+
+ $$cap_appname:
+ depends_on:
+ - $$cap_appname-db
+ image: redmine:$$cap_redmine_version
+ environment:
+ REDMINE_DB_POSTGRES: srv-captain--$$cap_appname-db
+ REDMINE_DB_PORT: 5432
+ REDMINE_DB_DATABASE: redmine
+ REDMINE_DB_USERNAME: $$cap_postgres_user
+ REDMINE_DB_PASSWORD: $$cap_postgres_password
+ REDMINE_SECRET_KEY_BASE: $$cap_key_base
+ restart: always
+ volumes:
+ - $$cap_appname-data:/usr/src/redmine/files
+ caproverExtra:
+ containerHttpPort: '3000'
+
+caproverOneClickApp:
+ variables:
+ - id: $$cap_redmine_version
+ label: Redmine Version
+ defaultValue: '4.2.3'
+ description: 'Check out their Docker page for the valid tags https://hub.docker.com/_/redmine?tab=tags'
+ - id: $$cap_postgres_version
+ label: PostgreSQL Version
+ defaultValue: '9.6'
+ description: 'Check out their Docker page for the valid tags https://hub.docker.com/_/postgres?tab=tags'
+ - id: $$cap_postgres_user
+ label: PostgreSQL username
+ defaultValue: 'redmine'
+ - id: $$cap_postgres_password
+ label: PostgreSQL Password
+ defaultValue: $$cap_gen_random_hex(16)
+ - id: $$cap_key_base
+ label: Redmine Secret Key Base
+ defaultValue: $$cap_gen_random_hex(64)
+
+ instructions:
+ start: >-
+ Redmine is a flexible project management web application written using Ruby on Rails framework. For more info visit https://www.redmine.org/projects/redmine.
+
+
+ After installation, login to Redmine using the default credentials [admin:admin].
+ end: >-
+ ✅ Redmine has been successfully deployed and is now available at http://$$cap_appname.$$cap_root_domain!
+
+
+ 🔐 The default login credentials are:
+
+ Username: admin
+ Password: admin
+ --------------------------------------------
+
+ More information on initial configuration can be found at https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Configuration.
+
+ displayName: Redmine (PostgreSQL)
+ isOfficial: true
+ description: >-
+ Redmine is a flexible project management web application written using Ruby on Rails framework. This app is packaged with PostgreSQL.
+ documentation: >-
+ This docker-compose is taken from https://hub.docker.com/_/redmine?tab=description
diff --git a/public/v4/logos/redmine-mysql.png b/public/v4/logos/redmine-mysql.png
new file mode 100644
index 0000000..4710988
--- /dev/null
+++ b/public/v4/logos/redmine-mysql.png
Binary files differ
diff --git a/public/v4/logos/redmine.png b/public/v4/logos/redmine.png
new file mode 100644
index 0000000..4710988
--- /dev/null
+++ b/public/v4/logos/redmine.png
Binary files differ