vps/cryptpad/docker-compose.yaml
2023-12-03 09:22:27 +00:00

26 lines
868 B
YAML

services:
cryptpad:
image: "cryptpad/cryptpad:version-5.5.0"
container_name: cryptpad
restart: always
hostname: cryptpad
environment:
- CPAD_MAIN_DOMAIN=https://cryptpad.viyurz.fr
- CPAD_SANDBOX_DOMAIN=https://cryptpad-sandbox.viyurz.fr
- CPAD_CONF=/cryptpad/config/config.js
volumes:
- /mnt/cryptpaddata/config/config.js:/cryptpad/config/config.js
- /mnt/cryptpaddata/blob:/cryptpad/blob
- /mnt/cryptpaddata/data/block:/cryptpad/block
- /mnt/cryptpaddata/customize:/cryptpad/customize
- /mnt/cryptpaddata/data/data:/cryptpad/data
- /mnt/cryptpaddata/data/files:/cryptpad/datastore
ports:
- "[::1]:3000:3000"
- "[::1]:3001:3001"
- "[::1]:3003:3003"
ulimits:
nofile:
soft: 1000000
hard: 1000000
user: cryptpad # useradd -u 4001 cryptpad