coreos-home-server/host/virtual/virtual.env
Alex Palaistras a6416f9ea6 Add service for WriteFreely
This commit integrates WriteFreely as a systemd service, set up as a
single-user instance by default (as is probably appropriate for a
home-server setup); a default administrator is set up, and whoever
is managing the home-server is expected to update the username and
password after first login.

Though WriteFreely expects to have a hostname set up for the instance,
we do not listen on any specific hostname by default. It is expected,
rather, that the `nginx-proxy-http` service is used with a drop-in for
using the correct `writefreely` upstream.

Configuration for this will continue to evolve as required.
2021-11-27 17:37:46 +00:00

44 lines
1.1 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 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 WriteFreely.
WRITEFREELY_SITE_HOST=https://writefreely.localhost