Affine final version

This commit is contained in:
2025-05-04 21:06:49 +02:00
parent 43705e2799
commit 452fe2a27c
4 changed files with 17 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ AFFINE_REVISION=stable
NETWORK="affine_net"
DOMAIN=""
DOMAIN="notedev.jamesvillage.dev"
# set the port for the server container it will expose the server on
AFFINE_PORT=3010
@@ -15,6 +15,7 @@ AFFINE_PORT=3010
# AFFINE_SERVER_EXTERNAL_URL=https://affine.yourdomain.com
# position of the database data to persist
AFFINE_ROOT="$HOME/.affine"
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
@@ -49,4 +50,6 @@ 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"
SERVICE_DIR="$HAPROXY_CFG_DIR/services/$DOMAIN"
BACKUP_REMOTE="onedrive-tianyu:Backups/affine"