26 lines
951 B
YAML
26 lines
951 B
YAML
services:
|
|
accmanager:
|
|
image: ${DOCKER_IMAGE:-yourdockerhub/accmanager:latest}
|
|
container_name: accmanager
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${APP_PORT:-3000}:3000"
|
|
environment:
|
|
NODE_ENV: ${NODE_ENV:-production}
|
|
PORT: 3000
|
|
DB_SERVER: ${DB_SERVER:-172.20.235.176}
|
|
DB_USER: ${DB_USER:-sa}
|
|
DB_PASSWORD: ${DB_PASSWORD:-changeme}
|
|
DB_NAME: ${DB_NAME:-AccManager}
|
|
DB_ENCRYPT: ${DB_ENCRYPT:-false}
|
|
DB_TRUST_CERTIFICATE: ${DB_TRUST_CERTIFICATE:-true}
|
|
DB_CONNECT_TIMEOUT: ${DB_CONNECT_TIMEOUT:-30000}
|
|
BCRYPT_ROUNDS: ${BCRYPT_ROUNDS:-12}
|
|
APP_BASE_URL: ${APP_BASE_URL:-http://localhost:3000}
|
|
SMTP_HOST: ${SMTP_HOST:-}
|
|
SMTP_PORT: ${SMTP_PORT:-587}
|
|
SMTP_SECURE: ${SMTP_SECURE:-false}
|
|
SMTP_USER: ${SMTP_USER:-}
|
|
SMTP_PASS: ${SMTP_PASS:-}
|
|
SMTP_FROM: ${SMTP_FROM:-}
|
|
EMAIL_VERIFY_TOKEN_TTL_MINUTES: ${EMAIL_VERIFY_TOKEN_TTL_MINUTES:-30} |