This repository has been archived on 2023-05-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
neo/docker-compose.cloud.yml
2023-03-01 15:17:10 +01:00

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