cryptpad/docker-compose.yml

29 lines
577 B
YAML

---
version: '3.8'
services:
cryptpad:
image: "cryptpad/cryptpad:latest"
hostname: cryptpad
environment:
- CPAD_MAIN_DOMAIN=example.com
- CPAD_SANDBOX_DOMAIN=sandbox.example.com
- CPAD_CONF=/cryptpad/config/config.js
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