cryptpad/docker-compose.yml

30 lines
630 B
YAML

---
version: '3.8'
services:
cryptpad:
image: "crytpad/cryptpad:testing"
hostname: cryptpad
environment:
- CPAD_MAIN_DOMAIN=example.com
- CPAD_SANDBOX_DOMAIN=sandbox.example.com
- CPAD_ADMIN_EMAIL=username@example.com
volumes:
- ./data/blob:/cryptpad/blob
- ./data/block:/cryptpad/block
- ./customize:/cryptpad/customize
- ./data/data:/cryptpad/data
- ./data/files:/cryptpad/datastore
- ./data/config.js:/cryptpad/config/config.js
ports:
- "3000:3000"
- "3001:3001"
ulimits:
nofile:
soft: 1000000
hard: 1000000