This commit is contained in:
2025-11-24 18:28:08 +00:00
parent f2dec3fe3b
commit c2fbc98c21
4 changed files with 18 additions and 11 deletions

View File

@@ -1,13 +1,13 @@
services:
{{app_id}}-docmost:
image: docmost/docmost:0.20.4
image: docmost/docmost:0.23.2
restart: always
environment:
APP_SECRET: {{entitlements.docmost-app-secret}}
DATABASE_URL: postgres://docmost:{{entitlements.postgresql-password}}@{{app_id}}-postgresql/docmost
REDIS_URL: redis://{{app_id}}-redis:6379
volumes:
- {{entitlements.folder-path}}{{#if (eq entitlements.os "windows")}}\\{{else}}/{{/if}}/docmost:/app/data/storage
- {{entitlements.folder-path}}{{#if (eq entitlements.os "windows")}}\\{{else}}/{{/if}}docmost:/app/data/storage
ports:
- {{entitlements.port-number}}:3000
logging:
@@ -17,14 +17,14 @@ services:
- {{app_id}}-redis
{{app_id}}-postgresql:
image: postgres:17.4
image: postgres:18.1
restart: always
environment:
POSTGRES_USER: docmost
POSTGRES_PASSWORD: {{entitlements.postgresql-password}}
POSTGRES_DB: docmost
volumes:
- {{entitlements.folder-path}}{{#if (eq entitlements.os "windows")}}\\{{else}}/{{/if}}postgresql:/var/lib/postgresql/data
- {{entitlements.folder-path}}{{#if (eq entitlements.os "windows")}}\\{{else}}/{{/if}}postgresql:/var/lib/postgresql
{{#unless (eq entitlements.os "windows")}}
user: {{entitlements.uid}}:{{entitlements.gid}}
{{/unless}}
@@ -32,7 +32,7 @@ services:
driver: local
{{app_id}}-redis:
image: redis:8.0.0
image: redis:8.4.0
restart: always
volumes:
- {{entitlements.folder-path}}{{#if (eq entitlements.os "windows")}}\\{{else}}/{{/if}}redis:/data