mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
9dad5ad2c4
This commit adds a new systemd service, `rclone-sync@.service`, templated against the absolute path of a directory to keep in sync with a (presumably) remote store. Support for Backblaze B2 endpoints has been set up by default, but the specific remote type can be configured via the `RCLONE_REMOTE_TYPE` host variable. In addition, a default-passthrough remote that encrypts data against a static password and salt has been defined under the `crypt` name, and can also be used as the `RCLONE_DEST` of choice.
57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
# Configuration for Let's Encrypt certificate service.
|
|
LETSENCRYPT_SERVER=https://acme-staging-v02.api.letsencrypt.org/directory
|
|
LETSENCRYPT_EMAIL=noreply@localhost
|
|
|
|
LETSENCRYPT_DNS_PROVIDER=cloudflare
|
|
LETSENCRYPT_DNS_PROVIDER_TOKEN=password
|
|
|
|
# Configuration for MariaDB.
|
|
MARIADB_ROOT_PASSWORD=password
|
|
|
|
# Configuration for Prosody.
|
|
PROSODY_HOST=prosody.localhost
|
|
PROSODY_HOST_EXTERNAL=prosody-external.localhost
|
|
|
|
PROSODY_DATABASE_NAME=prosody
|
|
PROSODY_DATABASE_USERNAME=prosody
|
|
PROSODY_DATABASE_PASSWORD=password
|
|
|
|
PROSODY_BIBOUMI_PASSWORD=password
|
|
PROSODY_SPECTRUM_PASSWORD=password
|
|
PROSODY_TURN_HOST=localhost
|
|
PROSODY_TURN_SECRET=password
|
|
|
|
# Configuration for Coturn.
|
|
COTURN_AUTH_SECRET=password
|
|
COTURN_REALM=localhost
|
|
COTURN_EXTERNAL_IP=""
|
|
COTURN_RELAY_PORT_MIN=49000
|
|
COTURN_RELAY_PORT_MAX=49100
|
|
|
|
# Configuration for Dovecot.
|
|
DOVECOT_HOST=localhost
|
|
DOVECOT_DATABASE_NAME=dovecot
|
|
DOVECOT_DATABASE_USERNAME=dovecot
|
|
DOVECOT_DATABASE_PASSWORD=password
|
|
|
|
# Configuration for Postfix.
|
|
POSTFIX_HOST=localhost
|
|
POSTFIX_LOCAL_SMTP_USERNAME=noreply@localhost
|
|
POSTFIX_LOCAL_SMTP_PASSWORD=password
|
|
|
|
# Configuration for rspamd.
|
|
RSPAMD_CONTROLLER_PASSWORD=password
|
|
|
|
# Configuration for RSS2Email.
|
|
RSS2EMAIL_FROM=noreply@localhost
|
|
RSS2EMAIL_TO=root@localhost
|
|
|
|
# Configuration for Rclone.
|
|
RCLONE_DEST=crypt:
|
|
RCLONE_CRYPT_REMOTE=/data/rclone
|
|
RCLONE_CRYPT_PASSWORD=3NYQAySloaAVy4CxtVkAset0mz9KDlhT
|
|
RCLONE_CRYPT_SALT=jqsQXp_MPwBPIzw69TkmSp7ScuA
|
|
|
|
# Configuration for WriteFreely.
|
|
WRITEFREELY_SITE_HOST=https://writefreely.localhost
|