* backend: refactor swarm support to also support podman (#260) - implement podman support as subclass of swarm deployment - podman is used when 'RUNTIME=podman' env var is set - podman socket is mapped instead of docker socket - podman-compose is used instead of docker-compose (though docker-compose works with podman, it does not support secrets, but podman-compose does) - separate cli utils into SwarmRunner and PodmanRunner which extends it - using config.yaml and config.env, both copied from sample versions - work on simplifying config: add docker-compose.podman.yml and docker-compose.swarm.yml and signing and debug configs in ./configs - add {build,run,stop}-{swarm,podman}.sh in scripts dir - add init-configs, only copy if configs don't exist - build local image use current version of podman, to support both podman 3.x and 4.x - additional fixes for after testing podman on centos - docs: update Deployment.md to cover swarm, podman, k8s deployment
45 lines
765 B
Bash
45 lines
765 B
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
|
|
|
|
# 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
|
|
|