-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
70 lines (70 loc) · 1.77 KB
/
docker-compose.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
memcached:
image: "memcached:1.6-alpine3.20"
networks:
- backend
iipsrv:
image: "ghcr.io/acdh-oeaw/iipsrv/iipsrv:latest"
networks:
- backend
environment:
LOGFILE: "/dev/stdout"
MEMCACHED_SERVERS: "memcached"
VERBOSITY: "5"
MAX_IMAGE_CACHE_SIZE: "10"
JPEG_QUALITY: "50"
URI_MAP: "iiif/images=>IIIF"
# WATERMARK: "/mnt/data/forIIIF/WBOE.tif"
# WATERMARK_OPACITY: "0.1"
# WATERMARK_PROBABILITY: "0.08"
volumes:
- "image-data:/mnt/data"
node:
image: "ghcr.io/acdh-oeaw/jpeg2000-conversion-and-iiif-presentation/jp2-conv-iiif-pres:latest"
volumes:
- "image-data:/mnt/data"
- "node-app:/app"
networks:
- backend
environment:
MEMCACHED_SERVERS: "memcached"
web:
image: "ghcr.io/acdh-oeaw/iiif-service/iiif-service:latest"
build:
context: .
dockerfile: Dockerfile
networks:
- backend
ports:
# the port is hard coded as a default for localhost developmentin
# in the node app
- 8080:8080
environment:
IIPSRV: "iipsrv"
NODESRV: "node"
volumes:
# - "lighttpd-config:/etc/lighttpd"
- "image-data:/mnt/data"
networks:
backend:
driver: bridge
volumes:
lighttpd-config:
driver: local
driver_opts:
type: "none"
device: "${HOME}/WebProjects/IIIF-service/config/lighttpd"
o: "bind"
image-data:
# needs to be writeable by user 3000 group 82 (node user) and readable by group 82 (www-data)
driver: local
driver_opts:
type: "none"
device: "${HOME}/WebProjects/image-data"
o: "bind"
node-app:
driver: local
driver_opts:
type: "none"
device: "${HOME}/WebProjects/JPEG2000-conversion-and-IIIF-presentation"
o: "bind"