cryptpad-docker/docker-compose.yml
Linus Gasser edc64c9fb5 Typo
2022-05-13 15:12:26 +02:00

35 lines
769 B
YAML

---
version: '3.8'
services:
cryptpad:
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 cryptpad_websocket
# A workaround is to disable 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:
- "80:80"
- "443:443"
expose:
- "80"
- "443"
ulimits:
nofile:
soft: 1000000
hard: 1000000