cryptpad/docker-compose.yml

29 lines
606 B
YAML
Raw Normal View History

2023-06-01 19:19:03 +08:00
---
version: '3.8'
services:
cryptpad:
image: "cryptpad/cryptpad:latest"
2023-06-01 19:19:03 +08:00
hostname: cryptpad
environment:
- CPAD_MAIN_DOMAIN=https://your-main-domain.com
- CPAD_SANDBOX_DOMAIN=https://your-sandbox-domain.com
- CPAD_CONF=/cryptpad/config/config.js
2023-06-01 19:19:03 +08:00
volumes:
- ./data/blob:/cryptpad/blob
- ./data/block:/cryptpad/block
- ./customize:/cryptpad/customize
- ./data/data:/cryptpad/data
- ./data/files:/cryptpad/datastore
ports:
- "3000:3000"
- "3001:3001"
ulimits:
nofile:
soft: 1000000
hard: 1000000