Skip to content

Commit

Permalink
Merge branch 'caprover:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
aqidd authored Aug 21, 2023
2 parents 57005d7 + fe591f1 commit c1b41ff
Show file tree
Hide file tree
Showing 31 changed files with 594 additions and 133 deletions.
83 changes: 83 additions & 0 deletions public/v4/apps/baserow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
captainVersion: 4
services:
$$cap_appname:
image: baserow/baserow:$$cap_BASEROW_VERSION
environment:
BASEROW_PUBLIC_URL: http://$$cap_appname.$$cap_root_domain
FROM_EMAIL: $$cap_BASEROW_FROM_EMAIL
EMAIL_SMTP: $$cap_BASEROW_EMAIL_SMTP_ENABLED
EMAIL_SMTP_HOST: $$cap_BASEROW_EMAIL_SMTP_HOST
EMAIL_SMTP_PORT: $$cap_BASEROW_EMAIL_SMTP_PORT
EMAIL_SMTP_USER: $$cap_BASEROW_EMAIL_SMTP_USER
EMAIL_SMTP_PASSWORD: $$cap_BASEROW_EMAIL_SMTP_PASSWORD
EMAIL_SMTP_USE_TLS: $$cap_BASEROW_EMAIL_SMTP_USE_TLS
EMAIL_SMTP_USE_SSL: $$cap_BASEROW_EMAIL_SMTP_USE_SSL
volumes:
- $$cap_appname-data:/baserow/data
caproverOneClickApp:
instructions:
start: |-
Baserow is an open-source online database tool.
Users can use this no-code platform to create a database without any technical experience.
It lowers the barriers to app creation so that anyone who can work with a spreadsheet can also create a database.
The interface looks a lot like a spreadsheet.
end: |-
Baserow 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`
Please do the following steps:
1. Activate **WebSocket Support**
2. If you enabled HTTPS, you should adjust the `BASEROW_PUBLIC_URL` environment variable accordingly
Enjoy your self-hosted Airtable alternative!
displayName: Baserow
isOfficial: true
description: Open Source No-Code Database And Airtable Alternative
documentation: https://baserow.io/docs
variables:
- id: $$cap_BASEROW_VERSION
label: Version
description: >-
Check out their valid tags at https://hub.docker.com/r/baserow/baserow/tags
defaultValue: '1.18.0'
validRegex: /.{1,}/
- id: $$cap_BASEROW_FROM_EMAIL
label: Mail | From
description: >-
The email address Baserow will send emails from
- id: $$cap_BASEROW_EMAIL_SMTP_ENABLED
label: SMTP | Enabled
description: >-
If set to any non empty value then Baserow will start sending emails using the configuration options below.
If not set then Baserow will not send emails and just print them to the logs instead
- id: $$cap_BASEROW_EMAIL_SMTP_HOST
label: SMTP | Host
description: >-
The host of the external SMTP server that Baserow should use to send emails
- id: $$cap_BASEROW_EMAIL_SMTP_PORT
label: SMTP | Port
description: >-
The host's port of the external SMTP server
- id: $$cap_BASEROW_EMAIL_SMTP_USER
label: SMTP | User
description: >-
The username to authenticate with the external SMTP server when sending emails
- id: $$cap_BASEROW_EMAIL_SMTP_PASSWORD
label: SMTP | Password
description: >-
The password to authenticate with the external SMTP server when sending emails
- id: $$cap_BASEROW_EMAIL_SMTP_USE_TLS
label: SMTP | Use TLS
description: >-
If set to any non empty value then Baserow will attempt to send emails using TLS.
Whether to use a TLS (secure) connection when talking to the SMTP server.
This is used for explicit TLS connections, generally on port 587.
If you are experiencing hanging connections, see the implicit TLS setting `EMAIL_SMTP_USE_SSL`
- id: $$cap_BASEROW_EMAIL_SMTP_USE_SSL
label: SMTP | Use SSL
description: >-
If set to any non empty value then an implicit TLS (secure) connection will be used when talking to the SMTP server.
In most email documentation this type of TLS connection is referred to as SSL.
It is generally used on port 465.
If you are experiencing problems, see the explicit TLS setting `EMAIL_SMTP_USE_TLS`.
Note that `EMAIL_SMTP_USE_TLS` / `EMAIL_SMTP_USE_SSL` are mutually exclusive, so only set one of those settings
104 changes: 104 additions & 0 deletions public/v4/apps/calcom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
captainVersion: 4
services:
$$cap_appname:
caproverExtra:
containerHttpPort: 3000
image: calcom/cal.com:$$cap_CALCOM_VERSION
environment:
NEXT_PUBLIC_WEBAPP_URL: http://$$cap_appname.$$cap_root_domain
NEXTAUTH_SECRET: $$cap_CALCOM_NEXTAUTH_SECRET
CALENDSO_ENCRYPTION_KEY: $$cap_CALCOM_CALENDSO_ENCRYPTION_KEY
CALCOM_TELEMETRY_DISABLED: $$cap_CALCOM_TELEMETRY_DISABLED
NODE_TLS_REJECT_UNAUTHORIZED: $$cap_CALCOM_NODE_TLS_REJECT_UNAUTHORIZED
DATABASE_URL: postgresql://$$cap_POSTGRES_USER:$$cap_POSTGRES_PASSWORD@srv-captain--$$cap_appname-db/$$cap_POSTGRES_DATABASE
EMAIL_FROM: $$cap_CALCOM_EMAIL_FROM
EMAIL_SERVER_HOST: $$cap_CALCOM_EMAIL_SERVER_HOST
EMAIL_SERVER_PORT: $$cap_CALCOM_EMAIL_SERVER_PORT
EMAIL_SERVER_USER: $$cap_CALCOM_EMAIL_SERVER_USER
EMAIL_SERVER_PASSWORD: $$cap_CALCOM_EMAIL_SERVER_PASSWORD
$$cap_appname-db:
caproverExtra:
notExposeAsWebApp: 'true'
image: postgres:$$cap_POSTGRES_VERSION
environment:
POSTGRES_DB: $$cap_POSTGRES_DATABASE
POSTGRES_USER: $$cap_POSTGRES_USER
POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
volumes:
- $$cap_appname-db:/var/lib/postgresql/data
caproverOneClickApp:
instructions:
start: |-
The open source Calendly alternative.
You are in charge of your own data, workflow and appearance.
White-label by design.
API-driven and ready to be deployed on your own domain.
Full control of your events and data.
end: |-
Cal.com has been successfully deployed! It might take few moments before it's fully started.
You can access the application at `http://$$cap_appname.$$cap_root_domain`.
If you enabled HTTPS, you should adjust the `NEXT_PUBLIC_WEBAPP_URL` environment variable accordingly.
displayName: Cal.com
isOfficial: true
description: Scheduling Infrastructure For Everyone
documentation: https://cal.com/docs
variables:
- id: $$cap_CALCOM_VERSION
label: Application | Version
description: Cal.com version. Check out their valid tags at https://hub.docker.com/r/calcom/cal.com/tags
defaultValue: 'v3.1.3'
validRegex: /.{1,}/
- id: $$cap_CALCOM_NEXTAUTH_SECRET
label: Application | Cookie Secret
description: Cookie Encryption Key
defaultValue: $$cap_gen_random_hex(32)
validRegex: /.{1,}/
- id: $$cap_CALCOM_CALENDSO_ENCRYPTION_KEY
label: Application | Authentication Secret
description: Authentication Encryption Key
defaultValue: $$cap_gen_random_hex(32)
validRegex: /.{1,}/
- id: $$cap_CALCOM_TELEMETRY_DISABLED
label: Application | Usage Data Collection
description: Allow cal.com to collect anonymous usage data. Set to `1` to disable
defaultValue: '1'
- id: $$cap_CALCOM_NODE_TLS_REJECT_UNAUTHORIZED
label: Application | Reject Unauthorized Requests
description: Whether to reject unauthorized requests. Set to `0` if running behind a load balancer or reverse proxy
defaultValue: '0'
- id: $$cap_CALCOM_EMAIL_FROM
label: Email | From
description: Sender email address. Optional
- id: $$cap_CALCOM_EMAIL_SERVER_HOST
label: Email | Host
description: SMTP Host. Optional
- id: $$cap_CALCOM_EMAIL_SERVER_PORT
label: Email | Port
description: SMTP Port. Optional
- id: $$cap_CALCOM_EMAIL_SERVER_USER
label: Email | User
description: SMTP User. Optional
- id: $$cap_CALCOM_EMAIL_SERVER_PASSWORD
label: Email | Password
description: SMTP Password. Optional
- id: $$cap_POSTGRES_VERSION
label: Database | Version
description: PostgreSQL version. Check out their valid tags at https://hub.docker.com/_/postgres/tags
defaultValue: '15.0-alpine'
validRegex: /.{1,}/
- id: $$cap_POSTGRES_DATABASE
label: Database | Name
description: Name of the PostgreSQL database
defaultValue: calcom
validRegex: /.{1,}/
- id: $$cap_POSTGRES_USER
label: Database | User Name
description: Name of the PostgreSQL user
defaultValue: calcom
validRegex: /.{1,}/
- id: $$cap_POSTGRES_PASSWORD
label: Database | User Password
description: Password of the PostgreSQL user
defaultValue: $$cap_gen_random_hex(16)
validRegex: /.{1,}/
25 changes: 12 additions & 13 deletions public/v4/apps/cockpit.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
captainVersion: 4
services:
$$cap_appname:
image: agentejo/cockpit:$$cap_cockpit_version
image: cockpithq/cockpit:core-$$cap_COCKPIT_VERSION
volumes:
- $$cap_appname-storage:/var/www/html/storage
restart: always
- $$cap_appname:/var/www/html
caproverOneClickApp:
variables:
- id: $$cap_cockpit_version
label: cockpit version tag
description: Check out their docker page for the valid tags @ https://hub.docker.com/r/agentejo/cockpit/tags
defaultValue: 0.9.3
- id: $$cap_COCKPIT_VERSION
label: Version
description: Check out their Docker page for the valid tags https://hub.docker.com/r/cockpithq/cockpit/tags
defaultValue: 2.5.2
instructions:
start: Cockpit is Simple Content Platform to manage any structured content. A self-hosted headless and API-driven CMS.
start: >-
Cockpit is a self-hosted, flexible and user-friendly headless content platform for creating custom digital experiences.
end: >-
Cockpit is deployed and available as $$cap_appname.
IMPORTANT: Navigate to /install to finish the installation and to create an admin user!
Cockpit has been successfully deployed! It might take few moments before it's fully started.
Navigate to `http://$$cap_appname.$$cap_root_domain/install` to finish the installation.
displayName: Cockpit
isOfficial: true
description: Cockpit is Simple Content Platform to manage any structured content. A self-hosted headless and API-driven CMS.
documentation: Read the documentation @ https://github.com/agentejo/cockpit-docker
description: Headless Content Platform
documentation: https://github.com/Cockpit-HQ/Cockpit
37 changes: 37 additions & 0 deletions public/v4/apps/databag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
captainVersion: 4
services:
'$$cap_appname':
image: balzack/databag:$$cap_version
environment:
TZ: '$$cap_tz'
PHP_TZ: '$$cap_tz'
volumes:
- '$$cap_appname-data:/var/lib/databag'
caproverExtra:
containerHttpPort: '7000'
caproverOneClickApp:
variables:
- id: '$$cap_version'
label: Databag Version
defaultValue: '0.1.7'
description: Check out their Docker page for the valid tags https://hub.docker.com/r/balzack/databag/tags
validRegex: "/^([^\\s^\\/])+$/"
- id: '$$cap_tz'
label: Time Zone
defaultValue: America/Los_Angeles
description: Get yours from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
validRegex: '/.{1,}/'
instructions:
start: |-
Configure your instance and create accounts in the admin dashboard.
Login to your account and connect with others.
Start a conversation.
More details: https://github.com/balzack/databag
end: |-
Databag has been successfully deployed!
IMPORTANT!! You need to enable https and websocket support.
displayName: Databag
isOfficial: true
description: Databag is a federated chat app for selfhosting that focuses on privacy and security; the service includes clients for the browser as well as F-Droid, iOS and Android.
documentation: See https://github.com/balzack/databag
5 changes: 4 additions & 1 deletion public/v4/apps/directus-mysql-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ services:
DB_PASSWORD: $$cap_mysql_password
CACHE_ENABLED: 'true'
CACHE_STORE: 'redis'
CACHE_REDIS: redis://srv-captain--$$cap_appname-redis:6379
CACHE_AUTO_PURGE: $$cap_redis_auto_purge
CACHE_TTL: $$cap_redis_ttl
# Before Directus 10.4.0
CACHE_REDIS: redis://srv-captain--$$cap_appname-redis:6379
# Since Directus 10.4.0
REDIS: redis://srv-captain--$$cap_appname-redis:6379
ADMIN_EMAIL: $$cap_admin_email
ADMIN_PASSWORD: $$cap_admin_password
TELEMETRY: 'false'
Expand Down
7 changes: 4 additions & 3 deletions public/v4/apps/directus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
notExposeAsWebApp: 'true'
# Cache
$$cap_appname-redis:
image: redis:6
image: redis:7
volumes:
- $$cap_appname-redis:/data
caproverExtra:
Expand All @@ -39,15 +39,16 @@ services:
DB_PASSWORD: $$cap_postgres_passwd
CACHE_ENABLED: 'true'
CACHE_STORE: 'redis'
CACHE_REDIS: redis://srv-captain--$$cap_appname-redis:6379
REDIS_HOST: srv-captain--$$cap_appname-redis
REDIS_PORT: '6379'
ADMIN_EMAIL: $$cap_admin_email
ADMIN_PASSWORD: $$cap_admin_password
caproverExtra:
containerHttpPort: '8055'
caproverOneClickApp:
variables:
- description: Tag of Directus image on https://hub.docker.com/r/directus/directus/tags
defaultValue: v9.0.0-rc.64
defaultValue: 10.4.3
id: $$cap_directus_tag
label: Directus image tag
validRegex: /.{1,}/
Expand Down
8 changes: 4 additions & 4 deletions public/v4/apps/emailengine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
$$cap_appname:
depends_on:
- $$cap_appname-redis
image: andris9/emailengine:$$cap_emailengine_version
image: postalsys/emailengine:$$cap_emailengine_version
restart: always
environment:
WAIT_HOSTS: srv-captain--$$cap_appname-redis:6379
Expand All @@ -25,7 +25,7 @@ caproverOneClickApp:
- id: $$cap_emailengine_version
label: EmailEngine Version
defaultValue: 'v2'
description: Check out their docker page for the valid tags https://hub.docker.com/r/andris9/emailengine/tags
description: Check out their docker page for the valid tags https://hub.docker.com/r/postalsys/emailengine/tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_redis_version
label: Redis Version
Expand All @@ -37,8 +37,8 @@ caproverOneClickApp:
IMAP and SMTP are hard, so let EmailEngine handle these for you. Run REST API calls to interact with email servers and receive webhooks for changes on tracked email accounts. With EmailEngine, you can focus on building features that matter instead of spending time rolling custom IMAP and SMTP connectivity logic.
end: >-
You're done! 🤗
Your EmailEngine is available at http://$$cap_appname.$$cap_root_domain:3000
Your EmailEngine is available at http://$$cap_appname.$$cap_root_domain
displayName: 'EmailEngine'
isOfficial: true
description: Self-hosted application that opens a permanent IMAP connection against every registered email account to translate API requests to IMAP commands and monitor changes on these accounts.
documentation: Taken from https://hub.docker.com/r/andris9/emailengine
documentation: Taken from https://hub.docker.com/r/postalsys/emailengine
Loading

0 comments on commit c1b41ff

Please sign in to comment.