cryptpad/docker-compose.yml

32 lines
694 B
YAML
Raw Normal View History

2016-12-30 05:02:03 +08:00
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}
2019-04-04 17:26:38 +08:00
ports:
- "3000:3000"
- "3001:3001"
2016-12-30 05:02:03 +08:00
restart: always
volumes:
- ./data/files:/cryptpad/datastore:rw
- ./data/customize:/cryptpad/customize:rw
2018-12-16 02:10:01 +08:00
- ./data/blob:/cryptpad/blob:rw
- ./data/block:/cryptpad/block:rw
2019-03-29 18:33:49 +08:00
- ./data/config:/cryptpad/cfg:rw
- ./data/data:/cryptpad/data:rw