mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
36 lines
1015 B
YAML
36 lines
1015 B
YAML
# SPDX-FileCopyrightText: 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
services:
|
|
cryptpad:
|
|
image: "cryptpad/cryptpad:latest"
|
|
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
|
|
|
|
# Read and accept the license before uncommenting the following line:
|
|
# https://github.com/Euro-Office/web-apps/raw/refs/heads/main/LICENSE.txt
|
|
# - CPAD_INSTALL_OFFICE=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"
|
|
|
|
ulimits:
|
|
nofile:
|
|
soft: 1000000
|
|
hard: 1000000
|