version: '2.2' networks: cloud: null services: cryptpad: build: custom/cryptpad hostname: cryptpad environment: CPAD_MAIN_DOMAIN: pad.ixvd.net CPAD_SANDBOX_DOMAIN: sandbox.pad.ixvd.net CPAD_HTTP2_DISABLE: "true" CPAD_TRUSTED_PROXY: 10.0.0.0/8 CPAD_REALIP_HEADER: X-Forwarded-For CPAD_REALIP_RECURSIVE: "on" 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