-
Notifications
You must be signed in to change notification settings - Fork 27
/
wopiserver.yaml
44 lines (40 loc) · 979 Bytes
/
wopiserver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# docker-compose configuration file for wopiserver
#
# Run with e.g.: HOST_HOSTNAME=`hostname` docker-compose --project-name wopiserver -f wopiserver.yaml up -d
#
version: "3.3"
services:
wopiserver:
build:
context: .
dockerfile: wopiserver${WOPI_DOCKER_TYPE}.Dockerfile
image: wopiserver:latest
container_name: wopiserver
hostname: iop-wopiserver
network_mode: "bridge"
restart: always
ports:
- 8880:8880
secrets:
- etherpad_apikey
environment:
- DEBUG_METRICS=false
- HOST_HOSTNAME=${HOST_HOSTNAME}
volumes:
- config:/etc/wopi
- storage:/var/wopi_local_storage
- logs:/var/log/wopi
- recovery:/var/spool/wopirecovery
healthcheck:
test: ["CMD", "curl", "--insecure", "http://localhost:8880"]
interval: 600s
timeout: 5s
retries: 3
secrets:
etherpad_apikey:
file: /etc/wopi/etherpad_apikey
volumes:
config:
storage:
logs:
recovery: