2023-06-01 19:19:03 +08:00
|
|
|
---
|
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
cryptpad:
|
2023-06-22 22:06:43 +08:00
|
|
|
image: "cryptpad/cryptpad:testing"
|
2023-06-01 19:19:03 +08:00
|
|
|
hostname: cryptpad
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- CPAD_MAIN_DOMAIN=example.com
|
|
|
|
- CPAD_SANDBOX_DOMAIN=sandbox.example.com
|
2023-06-22 21:02:20 +08:00
|
|
|
- CPAD_ADMIN_EMAIL=username@example.com
|
2023-06-01 19:19:03 +08:00
|
|
|
|
|
|
|
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
|