Update content/5.extra/2.selfhost.md

This commit is contained in:
William Oldham
2024-03-30 08:59:25 +00:00
committed by GitHub
parent 4b1dc698f4
commit adec3fff7a

View File

@@ -36,6 +36,8 @@
MWB_POSTGRES__MIGRATE_ON_BOOT: "true" MWB_POSTGRES__MIGRATE_ON_BOOT: "true"
MWB_SERVER__TRUSTPROXY: "true" MWB_SERVER__TRUSTPROXY: "true"
MWB_SERVER__TRUSTCLOUDFLARE: "true" MWB_SERVER__TRUSTCLOUDFLARE: "true"
# This is needed to resolve errors running migrations on some platforms - does not affect the application
MIKRO_ORM_MIGRATIONS_DISABLE_FOREIGN_KEYS: "true"
ports: ports:
- "8080:8080" - "8080:8080"
depends_on: depends_on: