PocketID smtp + formatting

This commit is contained in:
2026-02-09 21:15:05 +01:00
parent adcbd19c97
commit d838c430ad
5 changed files with 16 additions and 5 deletions

View File

@@ -55,8 +55,9 @@ services:
volumes:
db-data:
networks:
web:
external: true
internal:
external: false
external: false

View File

@@ -80,7 +80,7 @@ services:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
test: [ "CMD-SHELL", "pg_isready -U postgres -d planka" ]
interval: 10s
timeout: 5s
retries: 5
@@ -94,8 +94,9 @@ volumes:
attachments:
db-data:
networks:
web:
external: true
internal:
external: false
external: false

View File

@@ -6,6 +6,12 @@ services:
APP_URL: https://idp.marijndoeve.nl
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
TRUST_PROXY: true
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: 587
SMTP_FROM: "pocketid@marijndoeve.nl"
SMTP_USER: ${SMTP_USER}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_TLS: starttls
labels:
- traefik.enable=true
- traefik.http.routers.pocketid.rule=Host(`idp.marijndoeve.nl`)

View File

@@ -14,8 +14,11 @@ services:
environment:
TZ: Europe/Amsterdam
restart: unless-stopped
volumes:
data:
networks:
web:
external: true
external: true

View File

@@ -220,4 +220,4 @@ dir = PATH "data"
; Subresource integrity (SRI) hashes used in template files. Uncomment and set
; these for all js files used. See:
; https://github.com/PrivateBin/PrivateBin/wiki/FAQ#user-content-how-to-make-privatebin-work-when-i-have-changed-some-javascript-files
;js/privatebin.js = "sha512-[…]"
;js/privatebin.js = "sha512-[…]"