# select a revision to deploy, available values: stable, beta, canary AFFINE_REVISION=stable NETWORK="affine_net" DOMAIN="" # set the port for the server container it will expose the server on AFFINE_PORT=3010 # set the host for the server for outgoing links # AFFINE_SERVER_HTTPS=true # AFFINE_SERVER_HOST=affine.yourdomain.com # or # AFFINE_SERVER_EXTERNAL_URL=https://affine.yourdomain.com # position of the database data to persist DB_DATA_LOCATION=$HOME/.affine/self-host/postgres/pgdata # position of the upload data(images, files, etc.) to persist UPLOAD_LOCATION=$HOME/.affine/self-host/storage # position of the configuration files to persist CONFIG_LOCATION=$HOME/.affine/self-host/config # mailer SMTP_HOST="" SMTP_FROM="" SMTP_PORT="587" SMTP_USERNAME="" SMTP_PASSWORD="" REDIS_SERVER_HOST="host.containers.internal" REDIS_SERVER_PORT="6379" DATABASE_HOST="host.containers.internal" DATABASE_PORT="5432" # database credentials DB_USERNAME=affine DB_PASSWORD= DB_DATABASE=affine CONTAINER_PREFIX="affine" CONTAINER_REDIS="affine_redis" CONTAINER_POSTGRES="affine_postgres" CONTAINER_SERVER="affine_server" USER_SYSTEMD="$HOME/.config/systemd/user" SSL_PATH=$HOME/.config/ssl/$DOMAIN HAPROXY_CFG_DIR="/etc/haproxy" HAPROXY_CFG="$HAPROXY_CFG_DIR/haproxy.cfg" SERVICE_DIR="$HAPROXY_CFG_DIR/services/$DOMAIN"