cloud changes

This commit is contained in:
Didier Slof 2023-01-31 11:37:20 +01:00
parent e536b62ea2
commit 742176c221
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 299 additions and 2 deletions

View file

@ -3,14 +3,19 @@ version: '2.2'
networks:
cloud:
services:
cryptpad:
image: "promasu/cryptpad:nginx"
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:
@ -25,4 +30,4 @@ services:
soft: 1000000
hard: 1000000
networks:
- proxy
- proxy