You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
782 B
YAML
34 lines
782 B
YAML
version: '2'
|
|
services:
|
|
|
|
cryptpad:
|
|
build:
|
|
context: .
|
|
args:
|
|
- VERSION=${VERSION}
|
|
image: "xwiki/cryptpad:${VERSION}"
|
|
hostname: cryptpad
|
|
|
|
labels:
|
|
- traefik.port=3000
|
|
- traefik.frontend.passHostHeader=true
|
|
environment:
|
|
- USE_SSL=${USE_SSL}
|
|
- STORAGE=${STORAGE}
|
|
- LOG_TO_STDOUT=${LOG_TO_STDOUT}
|
|
|
|
ports:
|
|
- "3000:3000"
|
|
- "3001:3001"
|
|
|
|
restart: always
|
|
volumes:
|
|
- ./data/files:/cryptpad/datastore:rw
|
|
- ./data/customize:/cryptpad/customize:rw
|
|
- ./data/pins:/cryptpad/pins:rw
|
|
- ./data/blob:/cryptpad/blob:rw
|
|
- ./data/blobstage:/cryptpad/blobstage:rw
|
|
- ./data/tasks:/cryptpad/tasks:rw
|
|
- ./data/block:/cryptpad/block:rw
|
|
- ./data/config:/cryptpad/cfg:rw
|