Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Dahan e44dca5a73 put env_file in the places that need it
2 years ago
Jonathan Dahan 55fe7de241 update env template
2 years ago

@ -1,5 +1,14 @@
# copy this to env and it will be sourced by the appropriate services
# domain your services will be running on
DOMAIN=localhost
SMTP_USER=admin
SMTP_HOST=localhost
SMTP_PORT=587
# admin user for auth
ADMIN_USER=
ADMIN_PASS=
# used for sending notifications and reset passwords
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=

@ -1,4 +1,4 @@
podman compose --env-file env.production \
podman compose \
--file services/secrets.yaml \
--file services/backup.yaml \
--file services/proxy.yaml \

@ -1,4 +1,4 @@
podman compose --env-file env.production \
podman compose \
--file services/secrets.yaml \
--file services/backup.yaml \
--file services/proxy.yaml \

@ -1,4 +1,4 @@
podman compose --env-file env.production \
podman compose \
--file services/secrets.yaml \
--file services/backup.yaml \
--file services/proxy.yaml \

@ -16,6 +16,7 @@ services:
zitadel:
restart: 'unless-stopped'
image: 'ghcr.io/zitadel/zitadel:latest'
env_file: ../env
environment:
ZITADEL_DATABASE_COCKROACH_HOST: crdb
ZITADEL_EXTERNALSECURE: true

@ -18,6 +18,7 @@ services:
generate-secrets:
condition: 'service_completed_successfully'
secrets: [B2_APPLICATION_KEY, B2_APPLICATION_KEY_ID, BUCKET_NAME, PASSPHRASE]
env_file: ../env
environment:
HOSTNAME: ${DOMAIN}
TZ: America/New_York
@ -36,6 +37,7 @@ services:
# restart: unless-stopped
# depends_on: [secrets]
# secrets: [B2_APPLICATION_KEY, B2_APPLICATION_KEY_ID, BUCKET_NAME, PASSPHRASE]
# env_file: ../env
# environment:
# HOSTNAME: ${DOMAIN}
# TZ: America/New_York

@ -24,7 +24,7 @@ services:
depends_on:
generate-secrets:
condition: 'service_completed_successfully'
env_file: ../env
environment:
- MADDY_HOSTNAME=mx.mail.${DOMAIN}
- MADDY_DOMAIN=mail.${DOMAIN}
@ -41,6 +41,7 @@ services:
roundcube:
image: roundcube/roundcubemail:1.6.x-apache
env_file: ../env
environment:
ROUNDCUBEMAIL_DEFAULT_HOST: ssl://mx.mail.${DOMAIN}
ROUNDCUBEMAIL_DEFAULT_PORT: 993

Loading…
Cancel
Save