Remove mail server settings from docker-compose
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-10 16:55:48 -03:00
parent 053aa97983
commit a1cecd6de4

View File

@@ -65,7 +65,7 @@ services:
environment: environment:
ADMIN_EMAILS: ${ADMIN_EMAILS:?Set ADMIN_EMAILS} ADMIN_EMAILS: ${ADMIN_EMAILS:?Set ADMIN_EMAILS}
CUSTOM_DOMAIN_USE_HTTPS: 'true' CUSTOM_DOMAIN_USE_HTTPS: 'true'
DEFAULT_DOMAIN: mifi.me DEFAULT_DOMAIN: ${DEFAULT_DOMAIN:?Set DEFAULT_DOMAIN}
DB_CLIENT: pg DB_CLIENT: pg
DB_HOST: kutt_db DB_HOST: kutt_db
DB_PORT: '5432' DB_PORT: '5432'
@@ -79,12 +79,12 @@ services:
LINK_LENGTH: 6 LINK_LENGTH: 6
JWT_SECRET: ${JWT_SECRET:?Set JWT_SECRET} JWT_SECRET: ${JWT_SECRET:?Set JWT_SECRET}
MAIL_ENABLED: 'true' MAIL_ENABLED: 'true'
MAIL_HOST: 'mail.mifi.holdings' MAIL_HOST: ${MAIL_HOST:?Set MAIL_HOST}
MAIL_PORT: '465' MAIL_PORT: ${MAIL_PORT:?Set MAIL_PORT}
MAIL_SECURE: 'true' MAIL_SECURE: 'true'
MAIL_USER: 'mailbot@mifi.ventures' MAIL_USER: ${MAIL_USER:?Set MAIL_USER}
MAIL_FROM: 'mifi Holdings Shorty <noreply@mifi.holdings>' MAIL_FROM: ${MAIL_FROM:?Set MAIL_FROM}
MAIL_PASSWORD: '${SMTP_PASSWORD:?Set SMTP_PASSWORD}' MAIL_PASSWORD: '${MAIL_PASSWORD:?Set MAIL_PASSWORD}'
NODE_ENV: production NODE_ENV: production
# OIDC_ENABLED: 'true' # OIDC_ENABLED: 'true'
# OIDC_ISSUER: 'https://git.mifi.dev' # OIDC_ISSUER: 'https://git.mifi.dev'
@@ -93,19 +93,19 @@ services:
REDIS_ENABLED: 'true' REDIS_ENABLED: 'true'
REDIS_HOST: kutt_redis REDIS_HOST: kutt_redis
REDIS_PORT: '6379' REDIS_PORT: '6379'
SERVER_CNAME_ADDRESS: 'link.mifi.me' SERVER_CNAME_ADDRESS: ${SERVER_CNAME_ADDRESS:-${DEFAULT_DOMAIN}}
SITE_NAME: 'mifi Shorty' SITE_NAME: ${SITE_NAME:-Kutt}
labels: labels:
- 'traefik.enable=true' - 'traefik.enable=true'
- 'docker.network=marina-net' - 'docker.network=marina-net'
- 'traefik.http.routers.kutt-mifi.rule=Host(`mifi.me`)' - 'traefik.http.routers.kutt-mifi.rule=Host(`${DEFAULT_DOMAIN}`)'
- 'traefik.http.routers.kutt-mifi.entrypoints=websecure' - 'traefik.http.routers.kutt-mifi.entrypoints=websecure'
- 'traefik.http.routers.kutt-mifi.tls.certresolver=letsencrypt' - 'traefik.http.routers.kutt-mifi.tls.certresolver=letsencrypt'
- 'traefik.http.routers.kutt-mifi.service=kutt-short' - 'traefik.http.routers.kutt-mifi.service=kutt-short'
- 'traefik.http.services.kutt-short.loadbalancer.server.port=3000' - 'traefik.http.services.kutt-short.loadbalancer.server.port=3000'
- 'traefik.http.services.kutt-short.loadbalancer.serversTransport=kutt-long-timeout@file' - 'traefik.http.services.kutt-short.loadbalancer.serversTransport=kutt-long-timeout@file'
# UI # UI
- 'traefik.http.routers.kutt-mifi-ui.rule=Host(`link.mifi.me`)' - 'traefik.http.routers.kutt-mifi-ui.rule=Host(`${SERVER_CNAME_ADDRESS}`)'
- 'traefik.http.routers.kutt-mifi-ui.entrypoints=websecure' - 'traefik.http.routers.kutt-mifi-ui.entrypoints=websecure'
- 'traefik.http.routers.kutt-mifi-ui.tls.certresolver=letsencrypt' - 'traefik.http.routers.kutt-mifi-ui.tls.certresolver=letsencrypt'
- 'traefik.http.routers.kutt-mifi-ui.service=kutt-short-ui' - 'traefik.http.routers.kutt-mifi-ui.service=kutt-short-ui'