- build backend and frontend with cacheing using GHA cache) - streamline frontend image to reduce layers - setup local swarm with test/setup.sh script, wait for containers to init - copy sample config files as default (add storages.sample.yaml) - add initial backend test for logging in with default superadmin credentials via 127.0.0.1:9871 - must use 127.0.0.1 instead of localhost for accessing frontend container within action
65 lines
1.1 KiB
Bash
65 lines
1.1 KiB
Bash
# Env Settings (for local Docker Deployment)
|
|
|
|
# mongo
|
|
# ==========
|
|
MONGO_HOST=mongo
|
|
PASSWORD_SECRET=change_me
|
|
|
|
MONGO_INITDB_ROOT_USERNAME=root
|
|
MONGO_INITDB_ROOT_PASSWORD=example
|
|
|
|
|
|
# minio
|
|
# ==========
|
|
MINIO_ROOT_USER=ADMIN
|
|
MINIO_ROOT_PASSWORD=PASSW0RD
|
|
|
|
MINIO_BUCKET=btrix-data
|
|
|
|
MC_HOST_local=http://ADMIN:PASSW0RD@minio:9000
|
|
|
|
|
|
# Super Admin
|
|
# =================
|
|
SUPERUSER_EMAIL=admin@example.com
|
|
|
|
# if blank, a password is generated automatically
|
|
SUPERUSER_PASSWORD=PASSW0RD0
|
|
|
|
STORE_ENDPOINT_URL=http://minio:9000/btrix-data/
|
|
STORE_ACCESS_ENDPOINT_URL=/data/
|
|
STORE_ACCESS_KEY=ADMIN
|
|
STORE_SECRET_KEY=PASSW0RD
|
|
|
|
# enable to send verification emails
|
|
#EMAIL_SMTP_HOST=smtp.gmail.com
|
|
#EMAIL_SMTP_PORT=587
|
|
#EMAIL_SENDER=user@example.com
|
|
#EMAIL_PASSWORD=password
|
|
|
|
|
|
# misc
|
|
# =================
|
|
REGISTRATION_ENABLED=1
|
|
|
|
# number of workers to run for backend
|
|
WEB_CONCURRENCY=1
|
|
|
|
JWT_TOKEN_LIFETIME_MINUTES=240
|
|
|
|
# for debugging, keep failed containers around
|
|
NO_DELETE_ON_FAIL=0
|
|
|
|
# auth sign -- uncomment to enable signing
|
|
# ==================
|
|
# WACZ_SIGN_URL="http://authsign:8080/sign"
|
|
|
|
# optional token for signing (useful if using remote signing server)
|
|
# WACZ_SIGN_TOKEN=""
|
|
|
|
|
|
|
|
|
|
|
|
|