services: docmost: image: docmost/docmost:latest container_name: docmost depends_on: - redis extra_hosts: - "host.docker.internal:host-gateway" environment: APP_URL: ${APP_URL:-https://wiki.tradhox.com} APP_SECRET: ${APP_SECRET} PORT: 3000 DATABASE_URL: ${DATABASE_URL:-postgresql://vignesh:vignesh_secret_pass_2026@host.docker.internal:5432/docmost?schema=public} REDIS_URL: ${REDIS_URL:-redis://redis:6379} STORAGE_DRIVER: ${STORAGE_DRIVER:-s3} AWS_S3_BUCKET: ${AWS_S3_BUCKET:-trypostmedia} AWS_S3_REGION: ${AWS_S3_REGION:-ap-south-2} AWS_S3_PREFIX: ${AWS_S3_PREFIX:-wikimedia/} AWS_S3_URL: ${AWS_S3_URL:-https://d28qhqo5myc2wf.cloudfront.net} AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-AKIA3EDB7OKBXW3M62NR} AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-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} ports: - "127.0.0.1:3001:3000" restart: unless-stopped volumes: - docmost_storage:/app/data/storage - ./patches/s3.driver.js:/app/apps/server/dist/integrations/storage/drivers/s3.driver.js:ro - ./patches/license-check.service.js:/app/apps/server/dist/integrations/environment/license-check.service.js:ro - ./patches/license.service.js:/app/apps/server/dist/ee/licence/license.service.js:ro redis: image: redis:7-alpine container_name: docmost-redis command: ["redis-server", "--appendonly", "yes", "--maxmemory-policy", "noeviction"] restart: unless-stopped volumes: - redis_data:/data volumes: docmost_storage: redis_data: