Build updates and portainer compose updates
This commit is contained in:
@@ -39,7 +39,7 @@ steps:
|
|||||||
local ctx=$1
|
local ctx=$1
|
||||||
local repo=$2
|
local repo=$2
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64 \
|
||||||
--progress=plain \
|
--progress=plain \
|
||||||
--tag $repo:${CI_COMMIT_SHA} \
|
--tag $repo:${CI_COMMIT_SHA} \
|
||||||
--tag $repo:latest \
|
--tag $repo:latest \
|
||||||
|
|||||||
@@ -48,18 +48,29 @@ services:
|
|||||||
kutt_redis:
|
kutt_redis:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
environment:
|
environment:
|
||||||
|
ADMIN_EMAILS: ${ADMIN_EMAILS:?Set ADMIN_EMAILS}
|
||||||
|
DEFAULT_DOMAIN: mifi.me
|
||||||
DB_CLIENT: pg
|
DB_CLIENT: pg
|
||||||
DB_HOST: kutt_db
|
DB_HOST: kutt_db
|
||||||
DB_PORT: '5432'
|
DB_PORT: '5432'
|
||||||
DB_USER: ${DB_USER:-kutt}
|
DB_USER: ${DB_USER:-kutt}
|
||||||
DB_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD}
|
DB_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD}
|
||||||
DB_NAME: ${DB_NAME:-kutt}
|
DB_NAME: ${DB_NAME:-kutt}
|
||||||
|
DISALLOW_ANONYMOUS_LINKS: 'true'
|
||||||
|
DISALLOW_REGISTRATION: 'false'
|
||||||
|
LINK_LENGTH: 6
|
||||||
|
JWT_SECRET: ${JWT_SECRET:?Set JWT_SECRET}
|
||||||
|
MAIL_HOST: 'mail.mifi.holdings'
|
||||||
|
MAIL_PORT: '465'
|
||||||
|
MAIL_SECURE: 'true'
|
||||||
|
MAIL_USER: 'mailbot@mifi.ventures'
|
||||||
|
MAIL_FROM: 'mifi Holdings Shorty <noreply@mifi.holdings>'
|
||||||
|
MAIL_PASSWORD: '${SMTP_PASSWORD:?Set SMTP_PASSWORD}'
|
||||||
|
NODE_ENV: production
|
||||||
REDIS_ENABLED: 'true'
|
REDIS_ENABLED: 'true'
|
||||||
REDIS_HOST: kutt_redis
|
REDIS_HOST: kutt_redis
|
||||||
REDIS_PORT: '6379'
|
REDIS_PORT: '6379'
|
||||||
DEFAULT_DOMAIN: mifi.me
|
SITE_DOMAIN: mifi.me
|
||||||
NODE_ENV: production
|
|
||||||
JWT_SECRET: ${JWT_SECRET:?Set JWT_SECRET}
|
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.enable=true'
|
- 'traefik.enable=true'
|
||||||
- 'docker.network=marina-net'
|
- 'docker.network=marina-net'
|
||||||
|
|||||||
Reference in New Issue
Block a user