Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d494f9cd7 | ||
|
|
d0c154b172 |
@@ -6,10 +6,12 @@ DOMAIN=plausible.example.com
|
||||
#EXTRA_DOMAINS=', `www.plausible.example.com`'
|
||||
LETS_ENCRYPT_ENV=production
|
||||
#LOG_LEVEL=debug
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
DISABLE_REGISTRATION=true # true or false
|
||||
|
||||
# Mail Configuration
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.mail.yml"
|
||||
#SECRET_SMTP_PASSWORD_VERSION=v1 # generate=false
|
||||
#MAILER_ADAPTER=Bamboo.Mua
|
||||
#MAILER_EMAIL=noreply@example.com
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- MAILER_ADAPTER
|
||||
- SMTP_HOST_ADDR
|
||||
- MAILER_EMAIL
|
||||
- MAILER_NAME
|
||||
- SMTP_HOST_PORT
|
||||
- SMTP_USER_NAME
|
||||
- SMTP_USER_PWD
|
||||
- SMTP_HOST_SSL_ENABLED
|
||||
secrets:
|
||||
- smtp_password
|
||||
|
||||
secrets:
|
||||
smtp_password:
|
||||
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
||||
external: true
|
||||
+1
-13
@@ -13,20 +13,11 @@ services:
|
||||
- SECRET_KEY_BASE
|
||||
- DATABASE_URL=postgres://plausible:plausible@${STACK_NAME}_db:5432/plausible
|
||||
- CLICKHOUSE_DATABASE_URL=http://${STACK_NAME}_events:8123/plausible_events_db
|
||||
- MAILER_ADAPTER
|
||||
- SMTP_HOST_ADDR
|
||||
- MAILER_EMAIL
|
||||
- MAILER_NAME
|
||||
- SMTP_HOST_PORT
|
||||
- SMTP_USER_NAME
|
||||
- SMTP_USER_PWD
|
||||
- SMTP_HOST_SSL_ENABLED
|
||||
- DISABLE_REGISTRATION
|
||||
- LOG_LEVEL
|
||||
secrets:
|
||||
- totp_secret
|
||||
- key_base
|
||||
- smtp_password
|
||||
configs:
|
||||
- source: plausible_entrypoint
|
||||
target: /plausible_entrypoint.sh
|
||||
@@ -51,7 +42,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- coop-cloud.${STACK_NAME}.version=4.0.0+v2.1.0
|
||||
- coop-cloud.${STACK_NAME}.version=4.0.1+v2.1.0
|
||||
db:
|
||||
image: pgautoupgrade/pgautoupgrade:18-alpine
|
||||
volumes:
|
||||
@@ -151,6 +142,3 @@ secrets:
|
||||
key_base:
|
||||
name: ${STACK_NAME}_key_base_${SECRET_KEY_BASE_VERSION}
|
||||
external: true
|
||||
smtp_password:
|
||||
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
||||
external: true
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
fix smtp separation
|
||||
Reference in New Issue
Block a user