Files
affine/.env
T
2025-11-29 10:32:24 +01:00

23 lines
822 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.yourdomain.com
# or
# AFFINE_SERVER_EXTERNAL_URL=https://affine.yourdomain.com
# 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