forked from 0k/0k-charms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.5 KiB
53 lines
1.5 KiB
name: etherpad
|
|
summary: "Etherpad-lite server"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
inherit: base-0k
|
|
## Custom built from git 1.8.14 https://github.com/ether/etherpad-lite with
|
|
## build arg --build-arg INSTALL_SOFFICE=1
|
|
docker-image: docker.0k.io/etherpad:1.8.14-soffice ## custom built from git m etherpad/etherpad
|
|
description: |
|
|
Etherpad-lite service.
|
|
|
|
data-resources:
|
|
- /var/lib/etherpad
|
|
|
|
docker-compose:
|
|
command: node src/node/server.js --apikey /var/lib/etherpad/APIKEY.txt
|
|
environment:
|
|
SOFFICE: '/usr/bin/soffice'
|
|
|
|
uses:
|
|
postgres-database:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: required
|
|
auto: summon
|
|
solves:
|
|
database: "main storage"
|
|
default-options:
|
|
extensions:
|
|
- unaccent
|
|
web-proxy:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
proxy: "Public access"
|
|
default-options:
|
|
target: !var-expand ${MASTER_BASE_SERVICE_NAME}:9001
|
|
|
|
backup:
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
backup: "Automatic regular backup"
|
|
default-options:
|
|
## First pattern matching wins, no pattern matching includes.
|
|
## include-patterns are checked first, then exclude-patterns
|
|
## Patterns rules:
|
|
## - ending / for directory
|
|
## - '*' authorized
|
|
## - must start with a '/', will start from $SERVICE_DATASTORE
|
|
#exclude-patterns:
|
|
# - "/var/lib/odoo/sessions/"
|