cryptpad-docker/docker-compose.yml

36 lines
768 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:
2021-02-08 23:53:43 +00:00
- "80:80"
- "443:443"
expose:
2021-02-08 23:53:43 +00:00
- "80"
- "443"
ulimits:
nofile:
soft: 1000000
hard: 1000000