Files
2026-07-24 18:22:54 +02:00

23 lines
808 B
Bash

# select a revision to deploy, available values: stable, beta, canary
AFFINE_REVISION=stable
# set the port for the server container it will expose the server on
PORT=3010
# set the host for the server for outgoing links
# AFFINE_SERVER_HTTPS=true
# AFFINE_SERVER_HOST=affine.sda.zone
# or
AFFINE_SERVER_EXTERNAL_URL=https://affine.sda.zone
# position of the database data to persist
DB_DATA_LOCATION=/var/lib/docker/volumes/affine/.affine/self-host/postgres/pgdata
# position of the upload data(images, files, etc.) to persist
UPLOAD_LOCATION=/var/lib/docker/volumes/affine/.affine/self-host/storage
# position of the configuration files to persist
CONFIG_LOCATION=/var/lib/docker/volumes/affine/.affine/self-host/config
# database credentials
DB_USERNAME=affine
DB_PASSWORD=sda101176
DB_DATABASE=affine