Add CodiMD OCA (#249)
* Add CodiMD yaml & png * Run Prettier on yaml * Implement feedback (@githubsaturn)
This commit is contained in:
parent
427922c4f6
commit
a4fc42c4ea
|
|
@ -0,0 +1,49 @@
|
|||
captainVersion: 4
|
||||
services:
|
||||
$$cap_appname-mariadb:
|
||||
image: linuxserver/mariadb:110.4.14mariabionic-ls77
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $$cap_DB_PASS
|
||||
MYSQL_DATABASE: codimd
|
||||
MYSQL_USER: codimd
|
||||
MYSQL_PASSWORD: $$cap_DB_PASS
|
||||
PGID: 1000
|
||||
PUID: 1000
|
||||
TZ: Europe/London
|
||||
volumes:
|
||||
- $$cap_appname-mariadb-config:/config
|
||||
$$cap_appname:
|
||||
environment:
|
||||
DB_HOST: srv-captain--$$cap_appname-mariadb
|
||||
DB_USER: codimd
|
||||
DB_PASS: $$cap_DB_PASS
|
||||
DB_NAME: codimd
|
||||
DB_PORT: 3306
|
||||
PGID: 1000
|
||||
PUID: 1000
|
||||
TZ: Europe/London
|
||||
image: linuxserver/codimd:1.6.0-ls44
|
||||
restart: always
|
||||
volumes:
|
||||
- $$cap_appname-config:/config
|
||||
caproverExtra:
|
||||
containerHttpPort: '3000'
|
||||
caproverOneClickApp:
|
||||
variables:
|
||||
- label: Database Password
|
||||
description: Password to connect to the database
|
||||
defaultValue: $$cap_gen_random_hex(16)
|
||||
id: $$cap_DB_PASS
|
||||
instructions:
|
||||
start: |-
|
||||
Realtime collaborative markdown notes on all platforms.
|
||||
|
||||
GitHub: https://github.com/hackmdio/codimd
|
||||
end: |-
|
||||
Aaaand you're done! 😄
|
||||
|
||||
Your service is available as $$cap_appname
|
||||
displayName: CodiMD
|
||||
isOfficial: true
|
||||
description: Realtime collaborative markdown notes on all platforms
|
||||
documentation: https://hackmd.io/c/codimd-documentation
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue