summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRonald Loyko <[email protected]>2022-10-08 03:31:13 +0300
committerGitHub <[email protected]>2022-10-07 17:31:13 -0700
commit2abfc520f1d7a71909dcfc83de273908756dd462 (patch)
tree9493c2ff7192f1f26f68f8b8fde29fc36e72b1c5
parent2725cfbd6aea60f8f41084dbd90a260202bad410 (diff)
downloadcaprover-one-click-apps-2abfc520f1d7a71909dcfc83de273908756dd462.tar.gz
caprover-one-click-apps-2abfc520f1d7a71909dcfc83de273908756dd462.zip
feat: add planka (#752)
-rw-r--r--public/v4/apps/planka.yml94
-rw-r--r--public/v4/logos/planka.pngbin0 -> 8569 bytes
2 files changed, 94 insertions, 0 deletions
diff --git a/public/v4/apps/planka.yml b/public/v4/apps/planka.yml
new file mode 100644
index 0000000..69926f4
--- /dev/null
+++ b/public/v4/apps/planka.yml
@@ -0,0 +1,94 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ caproverExtra:
+ containerHttpPort: $$cap_PLANKA_PORT
+ dockerfileLines:
+ - FROM ghcr.io/plankanban/planka:$$cap_PLANKA_VERSION
+ - CMD ["bash", "-c", "for i in `seq 1 30`; do ./start.sh && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 seconds...\"; sleep 5; done; (exit $$s)"]
+ environment:
+ BASE_URL: http://$$cap_appname.$$cap_root_domain
+ TRUST_PROXY: $$cap_PLANKA_TRUST_PROXY
+ DATABASE_URL: postgresql://$$cap_POSTGRES_USER:$$cap_POSTGRES_PASSWORD@srv-captain--$$cap_appname-db/$$cap_POSTGRES_DB
+ SECRET_KEY: $$cap_PLANKA_SECRET_KEY
+ hostname: $$cap_appname.$$cap_root_domain
+ depends_on:
+ - $$cap_appname-db
+ volumes:
+ - $$cap_appname-user-avatars:/app/public/user-avatars
+ - $$cap_appname-project-background-images:/app/public/project-background-images
+ - $$cap_appname-attachments:/app/private/attachments
+ $$cap_appname-db:
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ image: postgres:$$cap_POSTGRES_VERSION
+ volumes:
+ - $$cap_appname-db:/var/lib/postgresql/data
+ environment:
+ POSTGRES_USER: $$cap_POSTGRES_USER
+ POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
+ POSTGRES_DB: $$cap_POSTGRES_DB
+ POSTGRES_HOST_AUTH_METHOD: $$cap_POSTGRES_HOST_AUTH_METHOD
+caproverOneClickApp:
+ instructions:
+ start: |-
+ Planka is a Trello-like kanban board built with React and Redux.
+ end: |-
+ Planka has been successfully deployed! It might take few moments before it's fully started.
+ You can access it at `http://$$cap_appname.$$cap_root_domain` with user `[email protected]` and password `demo`.
+
+ Please do the following steps:
+ 1. Activate **WebSocket Support**
+ 2. If you enabled HTTPS, you should adjust the `BASE_URL` environment variable accordingly
+
+ Enjoy your self-hosted Trello alternative!
+ displayName: Planka
+ isOfficial: true
+ description: Realtime Kanban Board for Workgroups
+ documentation: https://github.com/plankanban/planka#deploy
+ variables:
+ - id: $$cap_PLANKA_VERSION
+ label: General | Planka Version
+ description: Check out their valid tags at https://github.com/orgs/plankanban/packages/container/package/planka
+ defaultValue: '1.8.4'
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_VERSION
+ label: General | PostgreSQL Version
+ description: Check out their valid tags at https://hub.docker.com/r/btcpayserver/postgres/tags
+ defaultValue: '13.7'
+ validRegex: /.{1,}/
+ - id: $$cap_PLANKA_PORT
+ label: Application | Port
+ description: Port of the Planka host.
+ defaultValue: 1337
+ validRegex: /.{1,}/
+ - id: $$cap_PLANKA_TRUST_PROXY
+ label: Application | Trust Proxy
+ description: Whether to trust proxy in Planka.
+ defaultValue: 'false'
+ validRegex: /.{1,}/
+ - id: $$cap_PLANKA_SECRET_KEY
+ label: Application | Secret Key
+ description: Secret key for data encryption.
+ defaultValue: $$cap_gen_random_hex(32)
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_USER
+ label: Database | User Name
+ description: User name of the PostgreSQL database.
+ defaultValue: planka
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_PASSWORD
+ label: Database | User Password
+ description: User password of the PostgreSQL database.
+ defaultValue: $$cap_gen_random_hex(16)
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_DB
+ label: Database | Name
+ description: Name of the PostgreSQL database.
+ defaultValue: planka
+ validRegex: /.{1,}/
+ - id: $$cap_POSTGRES_HOST_AUTH_METHOD
+ label: Database | Host Authentication Method
+ description: Method of the PostgreSQL host authentication.
+ defaultValue: trust
+ validRegex: /.{1,}/
diff --git a/public/v4/logos/planka.png b/public/v4/logos/planka.png
new file mode 100644
index 0000000..6a01ea7
--- /dev/null
+++ b/public/v4/logos/planka.png
Binary files differ