Skip to content

Instantly share code, notes, and snippets.

@hivivo
Last active December 5, 2021 21:45
Show Gist options
  • Save hivivo/067965b01979691e2489736d3b4dd314 to your computer and use it in GitHub Desktop.
Save hivivo/067965b01979691e2489736d3b4dd314 to your computer and use it in GitHub Desktop.
CapRover OneClick App - Joplin Server (using remote DB)
captainVersion: 4
services:
$$cap_appname:
image: joplin/server:$$cap_joplin_tag
restart: unless-stopped
environment:
APP_BASE_URL: http://$$cap_appname.$$cap_root_domain
DB_CLIENT: pg
POSTGRES_PASSWORD: $$cap_postgres_password
POSTGRES_DATABASE: $$cap_postgres_db
POSTGRES_USER: $$cap_postgres_user
POSTGRES_HOST: $$cap_postgres_host
caproverExtra:
containerHttpPort: '22300'
caproverOneClickApp:
variables:
- id: $$cap_postgres_host
label: Postgres Host
defaultValue: 'localhost'
- id: $$cap_postgres_db
label: Postgres DB
defaultValue: 'joplin'
- id: $$cap_postgres_user
label: Postgres User
defaultValue: 'joplin'
- id: $$cap_postgres_password
label: Postgres Password
defaultValue: cA3rS2oK
- id: $$cap_joplin_tag
label: Joplin Version
defaultValue: 'latest'
description: Check out their docker page for the valid tags https://hub.docker.com/r/joplin/server/tags
instructions:
start: >-
Joplin - an open source note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS.
For more info visit https://joplinapp.org/
end: |-
Joplin has been successfully deployed!
App is available as http://$$cap_appname.$$cap_root_domain
Login at http://$$cap_appname.$$cap_root_domain/login & change default email / password
Default email: admin@localhost
Default password: admin
displayName: Joplin
isOfficial: false
description: >-
Joplin - an open source note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS.
documentation: >-
This docker-compose is taken from https://github.com/laurent22/joplin/blob/adad4cab75/docker-compose.server.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment