2023-10-20 22:35:26 +08:00
|
|
|
# SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2023-06-01 19:19:03 +08:00
|
|
|
---
|
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
cryptpad:
|
2024-02-12 15:59:31 +08:00
|
|
|
image: "cryptpad/cryptpad:version-5.7.0"
|
2023-06-01 19:19:03 +08:00
|
|
|
hostname: cryptpad
|
|
|
|
|
|
|
|
environment:
|
2023-07-07 17:51:56 +08:00
|
|
|
- CPAD_MAIN_DOMAIN=https://your-main-domain.com
|
|
|
|
- CPAD_SANDBOX_DOMAIN=https://your-sandbox-domain.com
|
2023-06-23 20:32:27 +08:00
|
|
|
- CPAD_CONF=/cryptpad/config/config.js
|
2023-06-01 19:19:03 +08:00
|
|
|
|
2024-03-19 18:28:27 +08:00
|
|
|
# Uncomment the next line, if you want to use OnlyOffice on
|
|
|
|
# your installation.
|
|
|
|
#
|
|
|
|
# Read and accept this before doing this:
|
|
|
|
# https://github.com/ONLYOFFICE/web-apps/blob/master/LICENSE.txt
|
2024-02-26 22:20:17 +08:00
|
|
|
# - CPAD_INSTALL_ONLYOFFICE=yes
|
|
|
|
|
2023-06-01 19:19:03 +08:00
|
|
|
volumes:
|
|
|
|
- ./data/blob:/cryptpad/blob
|
|
|
|
- ./data/block:/cryptpad/block
|
|
|
|
- ./customize:/cryptpad/customize
|
|
|
|
- ./data/data:/cryptpad/data
|
|
|
|
- ./data/files:/cryptpad/datastore
|
2024-02-26 15:37:25 +08:00
|
|
|
- ./onlyoffice-dist:/cryptpad/www/common/onlyoffice/dist
|
2024-03-18 22:24:40 +08:00
|
|
|
- ./onlyoffice-conf:/cryptpad/onlyoffice-conf
|
2023-06-01 19:19:03 +08:00
|
|
|
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
- "3001:3001"
|
2023-08-14 15:23:38 +08:00
|
|
|
- "3003:3003"
|
2023-06-01 19:19:03 +08:00
|
|
|
|
|
|
|
ulimits:
|
|
|
|
nofile:
|
|
|
|
soft: 1000000
|
|
|
|
hard: 1000000
|