cryptpad-docker/docker-compose.yml

36 lines
777 B
YAML
Raw Normal View History

---
version: '3.8'
services:
cryptpad:
2021-01-15 16:47:47 +00:00
image: "promasu/cryptpad:nginx"
hostname: cryptpad
environment:
- CPAD_MAIN_DOMAIN=example.com
- CPAD_SANDBOX_DOMAIN=sandbox.example.com
# Traefik can't use HTTP2 to communicate with cryptpat_websocket
# A workaroung is disabling HTTP2 in Nginx
- CPAD_HTTP2_DISABLE=true
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"
expose:
- "3000"
- "3001"
ulimits:
nofile:
soft: 1000000
hard: 1000000