MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m2s
27 lines
825 B
YAML
27 lines
825 B
YAML
services:
|
|
mindsift:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: git.dsit.me/sandrodach/mindsift:dev
|
|
container_name: mindsift
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PORT:-8080}:8080"
|
|
volumes:
|
|
- ./data:/data
|
|
environment:
|
|
- PORT=8080
|
|
- DATA_DIR=/data
|
|
- JWT_SECRET=${JWT_SECRET:-change_this_to_a_secure_random_key_min_32_chars}
|
|
- BASE_URL=${BASE_URL:-http://localhost:8080}
|
|
- ALLOW_REGISTRATION=${ALLOW_REGISTRATION:-false}
|
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
|
# Optional SMTP / Mail Configuration (can also be configured in Admin UI)
|
|
- SMTP_HOST=${SMTP_HOST:-}
|
|
- SMTP_PORT=${SMTP_PORT:-587}
|
|
- SMTP_USER=${SMTP_USER:-}
|
|
- SMTP_PASS=${SMTP_PASS:-}
|
|
- SMTP_FROM=${SMTP_FROM:-}
|
|
- SMTP_TLS=${SMTP_TLS:-true}
|