+9
-3
@@ -3,14 +3,14 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: cryptpad/cryptpad:version-2026.5.1
|
||||
image: cryptpad/cryptpad:version-2026.10.1
|
||||
command: ["npm", "start"]
|
||||
networks:
|
||||
- backend
|
||||
environment:
|
||||
- CRYPTPAD_ADMIN_KEYS
|
||||
- "CPAD_MAIN_DOMAIN=${DOMAIN}"
|
||||
- "CPAD_SANDBOX_DOMAIN=${SANDBOX_DOMAIN}"
|
||||
- "CPAD_MAIN_DOMAIN=https://${DOMAIN}"
|
||||
- "CPAD_SANDBOX_DOMAIN=https://${SANDBOX_DOMAIN}"
|
||||
# Traefik can't use HTTP2 to communicate with cryptpad_websocket
|
||||
# A workaroung is disabling HTTP2 in Nginx
|
||||
- "CPAD_HTTP2_DISABLE=true"
|
||||
@@ -27,6 +27,8 @@ services:
|
||||
configs:
|
||||
- source: config_js
|
||||
target: /cryptpad/config/config.js
|
||||
- source: infra_js
|
||||
target: /cryptpad/config/infra.js
|
||||
- source: app_config_js
|
||||
target: /cryptpad/customize/application_config.js
|
||||
|
||||
@@ -85,6 +87,10 @@ configs:
|
||||
name: ${STACK_NAME}_config_${CONFIG_VERSION}
|
||||
file: config.js.tmpl
|
||||
template_driver: golang
|
||||
infra_js:
|
||||
name: ${STACK_NAME}_infra_js_${INFRA_JS_VERSION}
|
||||
file: infra.js.tmpl
|
||||
template_driver: golang
|
||||
nginx_conf:
|
||||
name: ${STACK_NAME}_nginx_conf_${NGINX_CONF_VERSION}
|
||||
file: nginx.conf.tmpl
|
||||
|
||||
Reference in New Issue
Block a user