zrnek revised this gist . Go to revision
1 file changed, 33 insertions
Docmost(file created)
| @@ -0,0 +1,33 @@ | |||
| 1 | + | services: | |
| 2 | + | docmost: | |
| 3 | + | image: docmost/docmost:latest | |
| 4 | + | depends_on: | |
| 5 | + | - db | |
| 6 | + | - redis | |
| 7 | + | environment: | |
| 8 | + | APP_URL: 'http://localhost:3000' | |
| 9 | + | APP_SECRET: 'TW3kJS74HMdwq8Vlq8L5ZRCIZxtO4R' | |
| 10 | + | DATABASE_URL: 'postgresql://docmost:[password]@db:5432/docmost?schema=public' | |
| 11 | + | REDIS_URL: 'redis://redis:6379' | |
| 12 | + | FILE_UPLOAD_SIZE_LIMIT: '500mb' | |
| 13 | + | ports: | |
| 14 | + | - "3000:3000" | |
| 15 | + | restart: unless-stopped | |
| 16 | + | volumes: | |
| 17 | + | - /volume1/docker/docmost/data:/app/data/storage | |
| 18 | + | ||
| 19 | + | db: | |
| 20 | + | image: postgres:16-alpine | |
| 21 | + | environment: | |
| 22 | + | POSTGRES_DB: docmost | |
| 23 | + | POSTGRES_USER: docmost | |
| 24 | + | POSTGRES_PASSWORD: [password] | |
| 25 | + | restart: unless-stopped | |
| 26 | + | volumes: | |
| 27 | + | - /volume1/docker/docmost/db_data:/var/lib/postgresql/data | |
| 28 | + | ||
| 29 | + | redis: | |
| 30 | + | image: redis:7.2-alpine | |
| 31 | + | restart: unless-stopped | |
| 32 | + | volumes: | |
| 33 | + | - /volume1/docker/docmost/redis_data:/data | |
Newer
Older