mirror of https://github.com/xwiki-labs/cryptpad
32 lines
694 B
YAML
32 lines
694 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/blob:/cryptpad/blob:rw
|
|
- ./data/block:/cryptpad/block:rw
|
|
- ./data/config:/cryptpad/cfg:rw
|
|
- ./data/data:/cryptpad/data:rw
|