stacks/docmost.yml hinzugefügt
This commit is contained in:
@@ -0,0 +1,53 @@
|
|||||||
|
services:
|
||||||
|
docmost:
|
||||||
|
image: docmost/docmost:latest
|
||||||
|
container_name: docmost
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
APP_URL: ${APP_URL}
|
||||||
|
APP_SECRET: ${APP_SECRET}
|
||||||
|
DATABASE_URL: postgresql://docmost:${POSTGRES_PASSWORD}@db:5432/docmost
|
||||||
|
REDIS_URL: redis://redis:6379
|
||||||
|
MAIL_DRIVER: smtp
|
||||||
|
SMTP_HOST: ${SMTP_HOST}
|
||||||
|
SMTP_PORT: ${SMTP_PORT}
|
||||||
|
SMTP_SECURE: TLS
|
||||||
|
SMTP_IGNORETLS: "true"
|
||||||
|
SMTP_USERNAME: ${SMTP_USERNAME}
|
||||||
|
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||||
|
MAIL_FROM_ADDRESS: ${MAIL_FROM_ADDRESS}
|
||||||
|
MAIL_FROM_NAME: ${MAIL_FROM_NAME}
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "${DOCMOST_PORT}:3000"
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- docmost_data:/app/data/storage
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:16
|
||||||
|
container_name: docmost-db
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: docmost
|
||||||
|
POSTGRES_USER: docmost
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- docmost-db_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:7
|
||||||
|
container_name: docmost-redis
|
||||||
|
command: ["redis-server", "--appendonly", "yes", "--maxmemory-policy", "noeviction"]
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- docmost-redis_data:/data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
docmost_data:
|
||||||
|
docmost-db_data:
|
||||||
|
docmost-redis_data:
|
||||||
Reference in New Issue
Block a user