Formatted

This commit is contained in:
Kasra Bigdeli 2020-10-29 22:42:29 -04:00
parent f49a3d0983
commit e5a4286009
1 changed files with 14 additions and 14 deletions

View File

@ -10,7 +10,7 @@ services:
RELAY_USERNAME: $$cap_RELAY_USERNAME
RELAY_PASSWORD: $$cap_RELAY_PASSWORD
caproverExtra:
notExposeAsWebApp: "true"
notExposeAsWebApp: 'true'
$$cap_appname-postgres:
image: postgres:12-alpine
@ -20,14 +20,14 @@ services:
POSTGRES_USER: plausible
POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
caproverExtra:
notExposeAsWebApp: "true"
notExposeAsWebApp: 'true'
$$cap_appname-clickhouse:
image: yandex/clickhouse-server:20.8.5.45
volumes:
- $$cap_appname-clickhouse-data:/var/lib/clickhouse
caproverExtra:
notExposeAsWebApp: "true"
notExposeAsWebApp: 'true'
$$cap_appname-geoip:
image: maxmindinc/geoipupdate:v4.5
@ -45,7 +45,7 @@ services:
- $$cap_appname-clickhouse
- $$cap_appname-mail
caproverExtra:
containerHttpPort: "8000"
containerHttpPort: '8000'
dockerfileLines:
- FROM plausible/analytics:v1.1.1
- CMD ["sh", "-c", "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"]
@ -58,43 +58,43 @@ services:
CLICKHOUSE_DATABASE_URL: http://srv-captain--$$cap_appname-clickhouse:8123/plausible
SECRET_KEY_BASE: $$cap_gen_random_hex(64)
SIGNING_SALT: $$cap_gen_random_hex(24)
DISABLE_REGISTRATION: "true"
DISABLE_SUBSCRIPTION: "true"
DISABLE_REGISTRATION: 'true'
DISABLE_SUBSCRIPTION: 'true'
MAILER_EMAIL: $$cap_RELAY_USERNAME
SMTP_HOST_ADDR: srv-captain--$$cap_appname-mail
SMTP_HOST_PORT: "25"
GEOLITE2_COUNTRY_DB: "/geoip/GeoLite2-Country.mmdb"
SMTP_HOST_PORT: '25'
GEOLITE2_COUNTRY_DB: '/geoip/GeoLite2-Country.mmdb'
volumes:
- $$cap_appname-geoip-data:/geoip
caproverOneClickApp:
variables:
- defaultValue: "admin@example.com"
- defaultValue: 'admin@example.com'
description: This is the admin email. Please change it.
id: $$cap_ADMIN_USER_EMAIL
label: ADMIN_USER_EMAIL
validRegex: /^([^\s^\/])+$/
- defaultValue: "admin"
- defaultValue: 'admin'
description: This is the admin username. Please change it.
id: $$cap_ADMIN_USER_NAME
label: ADMIN_USER_NAME
validRegex: /^([^\s^\/])+$/
- defaultValue: "password"
- defaultValue: 'password'
description: This is the admin password. Please change it.
id: $$cap_ADMIN_USER_PWD
label: ADMIN_USER_PWD
validRegex: /^([^\s^\/])+$/
- defaultValue: "plausible"
- defaultValue: 'plausible'
description: This is the PostgreSQL password for user 'plausible'. Please change it.
id: $$cap_POSTGRES_PASSWORD
label: POSTGRES_PASSWORD
validRegex: /^([^\s^\/])+$/
- defaultValue: "smtp.mailgun.org"
- defaultValue: 'smtp.mailgun.org'
description: This is the SMTP host for sending email. Use Mailgun or whatever other service.
id: $$cap_RELAY_HOST
label: RELAY_HOST
validRegex: /^([^\s^\/])+$/
- defaultValue: "587"
- defaultValue: '587'
description: This is the port for the SMTP host. Please change it if needed.
id: $$cap_RELAY_PORT
label: RELAY_PORT