Modify deploy and env

This commit is contained in:
2025-05-04 16:36:45 +02:00
parent 39c1d4e491
commit 2dea241880
2 changed files with 52 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ AFFINE_REVISION=stable
NETWORK="affine_net"
DOMAIN=""
# set the port for the server container it will expose the server on
AFFINE_PORT=3010
@@ -19,6 +21,13 @@ 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"
@@ -33,4 +42,11 @@ DB_DATABASE=affine
CONTAINER_PREFIX="affine"
CONTAINER_REDIS="affine_redis"
CONTAINER_POSTGRES="affine_postgres"
CONTAINER_SERVER="affine_server"
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"