32 lines
878 B
YAML
32 lines
878 B
YAML
version: '2.2'
|
|
|
|
networks:
|
|
cloud:
|
|
|
|
services:
|
|
cryptpad:
|
|
build:
|
|
context: custom/cryptpad
|
|
hostname: cryptpad
|
|
environment:
|
|
- CPAD_MAIN_DOMAIN=pad.ixvd.net
|
|
- CPAD_SANDBOX_DOMAIN=pad.sandbox.neo.ixvd.net
|
|
- CPAD_HTTP2_DISABLE=true
|
|
- CPAD_TRUSTED_PROXY=10.0.0.0/8
|
|
- CPAD_REALIP_HEADER=X-Forwarded-For
|
|
- CPAD_REALIP_RECURSIVE=on
|
|
- LETSENCRYPT_HOST=pad.ixvd.net,pad.sandbox.neo.ixvd.net
|
|
- VIRTUAL_HOST=pad.ixvd.net,pad.sandbox.neo.ixvd.net
|
|
volumes:
|
|
- /srv/cryptpad/data:/cryptpad/data
|
|
- /srv/cryptpad/other/blob:/cryptpad/blob
|
|
- /srv/cryptpad/other/block:/cryptpad/block
|
|
- /srv/cryptpad/other/files:/cryptpad/datastore
|
|
- /srv/cryptpad/other/customize:/cryptpad/customize
|
|
ulimits:
|
|
nofile:
|
|
soft: 1000000
|
|
hard: 1000000
|
|
networks:
|
|
- proxy
|
|
- cloud
|