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: volumes:
db-data: db-data:
networks: networks:
web: web:
external: true external: true
internal: internal:
external: false external: false

View File

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

View File

@@ -6,6 +6,12 @@ services:
APP_URL: https://idp.marijndoeve.nl APP_URL: https://idp.marijndoeve.nl
ENCRYPTION_KEY: ${ENCRYPTION_KEY} ENCRYPTION_KEY: ${ENCRYPTION_KEY}
TRUST_PROXY: true 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: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.pocketid.rule=Host(`idp.marijndoeve.nl`) - traefik.http.routers.pocketid.rule=Host(`idp.marijndoeve.nl`)

View File

@@ -14,8 +14,11 @@ services:
environment: environment:
TZ: Europe/Amsterdam TZ: Europe/Amsterdam
restart: unless-stopped restart: unless-stopped
volumes: volumes:
data: data:
networks: networks:
web: 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 ; Subresource integrity (SRI) hashes used in template files. Uncomment and set
; these for all js files used. See: ; 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 ; 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-[…]"