Formatted
This commit is contained in:
parent
f49a3d0983
commit
e5a4286009
|
|
@ -10,7 +10,7 @@ services:
|
||||||
RELAY_USERNAME: $$cap_RELAY_USERNAME
|
RELAY_USERNAME: $$cap_RELAY_USERNAME
|
||||||
RELAY_PASSWORD: $$cap_RELAY_PASSWORD
|
RELAY_PASSWORD: $$cap_RELAY_PASSWORD
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
notExposeAsWebApp: "true"
|
notExposeAsWebApp: 'true'
|
||||||
|
|
||||||
$$cap_appname-postgres:
|
$$cap_appname-postgres:
|
||||||
image: postgres:12-alpine
|
image: postgres:12-alpine
|
||||||
|
|
@ -20,14 +20,14 @@ services:
|
||||||
POSTGRES_USER: plausible
|
POSTGRES_USER: plausible
|
||||||
POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
|
POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
notExposeAsWebApp: "true"
|
notExposeAsWebApp: 'true'
|
||||||
|
|
||||||
$$cap_appname-clickhouse:
|
$$cap_appname-clickhouse:
|
||||||
image: yandex/clickhouse-server:20.8.5.45
|
image: yandex/clickhouse-server:20.8.5.45
|
||||||
volumes:
|
volumes:
|
||||||
- $$cap_appname-clickhouse-data:/var/lib/clickhouse
|
- $$cap_appname-clickhouse-data:/var/lib/clickhouse
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
notExposeAsWebApp: "true"
|
notExposeAsWebApp: 'true'
|
||||||
|
|
||||||
$$cap_appname-geoip:
|
$$cap_appname-geoip:
|
||||||
image: maxmindinc/geoipupdate:v4.5
|
image: maxmindinc/geoipupdate:v4.5
|
||||||
|
|
@ -45,7 +45,7 @@ services:
|
||||||
- $$cap_appname-clickhouse
|
- $$cap_appname-clickhouse
|
||||||
- $$cap_appname-mail
|
- $$cap_appname-mail
|
||||||
caproverExtra:
|
caproverExtra:
|
||||||
containerHttpPort: "8000"
|
containerHttpPort: '8000'
|
||||||
dockerfileLines:
|
dockerfileLines:
|
||||||
- FROM plausible/analytics:v1.1.1
|
- 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"]
|
- 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
|
CLICKHOUSE_DATABASE_URL: http://srv-captain--$$cap_appname-clickhouse:8123/plausible
|
||||||
SECRET_KEY_BASE: $$cap_gen_random_hex(64)
|
SECRET_KEY_BASE: $$cap_gen_random_hex(64)
|
||||||
SIGNING_SALT: $$cap_gen_random_hex(24)
|
SIGNING_SALT: $$cap_gen_random_hex(24)
|
||||||
DISABLE_REGISTRATION: "true"
|
DISABLE_REGISTRATION: 'true'
|
||||||
DISABLE_SUBSCRIPTION: "true"
|
DISABLE_SUBSCRIPTION: 'true'
|
||||||
MAILER_EMAIL: $$cap_RELAY_USERNAME
|
MAILER_EMAIL: $$cap_RELAY_USERNAME
|
||||||
SMTP_HOST_ADDR: srv-captain--$$cap_appname-mail
|
SMTP_HOST_ADDR: srv-captain--$$cap_appname-mail
|
||||||
SMTP_HOST_PORT: "25"
|
SMTP_HOST_PORT: '25'
|
||||||
GEOLITE2_COUNTRY_DB: "/geoip/GeoLite2-Country.mmdb"
|
GEOLITE2_COUNTRY_DB: '/geoip/GeoLite2-Country.mmdb'
|
||||||
volumes:
|
volumes:
|
||||||
- $$cap_appname-geoip-data:/geoip
|
- $$cap_appname-geoip-data:/geoip
|
||||||
|
|
||||||
caproverOneClickApp:
|
caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- defaultValue: "admin@example.com"
|
- defaultValue: 'admin@example.com'
|
||||||
description: This is the admin email. Please change it.
|
description: This is the admin email. Please change it.
|
||||||
id: $$cap_ADMIN_USER_EMAIL
|
id: $$cap_ADMIN_USER_EMAIL
|
||||||
label: ADMIN_USER_EMAIL
|
label: ADMIN_USER_EMAIL
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- defaultValue: "admin"
|
- defaultValue: 'admin'
|
||||||
description: This is the admin username. Please change it.
|
description: This is the admin username. Please change it.
|
||||||
id: $$cap_ADMIN_USER_NAME
|
id: $$cap_ADMIN_USER_NAME
|
||||||
label: ADMIN_USER_NAME
|
label: ADMIN_USER_NAME
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- defaultValue: "password"
|
- defaultValue: 'password'
|
||||||
description: This is the admin password. Please change it.
|
description: This is the admin password. Please change it.
|
||||||
id: $$cap_ADMIN_USER_PWD
|
id: $$cap_ADMIN_USER_PWD
|
||||||
label: ADMIN_USER_PWD
|
label: ADMIN_USER_PWD
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- defaultValue: "plausible"
|
- defaultValue: 'plausible'
|
||||||
description: This is the PostgreSQL password for user 'plausible'. Please change it.
|
description: This is the PostgreSQL password for user 'plausible'. Please change it.
|
||||||
id: $$cap_POSTGRES_PASSWORD
|
id: $$cap_POSTGRES_PASSWORD
|
||||||
label: POSTGRES_PASSWORD
|
label: POSTGRES_PASSWORD
|
||||||
validRegex: /^([^\s^\/])+$/
|
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.
|
description: This is the SMTP host for sending email. Use Mailgun or whatever other service.
|
||||||
id: $$cap_RELAY_HOST
|
id: $$cap_RELAY_HOST
|
||||||
label: RELAY_HOST
|
label: RELAY_HOST
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- defaultValue: "587"
|
- defaultValue: '587'
|
||||||
description: This is the port for the SMTP host. Please change it if needed.
|
description: This is the port for the SMTP host. Please change it if needed.
|
||||||
id: $$cap_RELAY_PORT
|
id: $$cap_RELAY_PORT
|
||||||
label: RELAY_PORT
|
label: RELAY_PORT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue