mirror of https://github.com/xwiki-labs/cryptpad
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
version: '3.8'
|
|
|
|
services:
|
|
cryptpad:
|
|
image: "cryptpad/cryptpad:version-5.7.0"
|
|
hostname: cryptpad
|
|
|
|
environment:
|
|
- CPAD_MAIN_DOMAIN=https://your-main-domain.com
|
|
- CPAD_SANDBOX_DOMAIN=https://your-sandbox-domain.com
|
|
- CPAD_CONF=/cryptpad/config/config.js
|
|
|
|
# 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
|
|
# - CPAD_INSTALL_ONLYOFFICE=yes
|
|
|
|
volumes:
|
|
- ./data/blob:/cryptpad/blob
|
|
- ./data/block:/cryptpad/block
|
|
- ./customize:/cryptpad/customize
|
|
- ./data/data:/cryptpad/data
|
|
- ./data/files:/cryptpad/datastore
|
|
- ./onlyoffice-dist:/cryptpad/www/common/onlyoffice/dist
|
|
- ./onlyoffice-conf:/cryptpad/onlyoffice-conf
|
|
|
|
ports:
|
|
- "3000:3000"
|
|
- "3001:3001"
|
|
- "3003:3003"
|
|
|
|
ulimits:
|
|
nofile:
|
|
soft: 1000000
|
|
hard: 1000000
|