-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.08 KB
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
networks:
scopeviewer-network:
driver: bridge
services:
redis:
image: redis:latest
container_name: scopeviewer-redis
networks:
- scopeviewer-network
deepzoom:
image: scopeviewer-deepzoom:latest
container_name: scopeviewer-deepzoom
build:
context: .
dockerfile: ./deepzoom/Dockerfile
ports:
- "10010:9010"
depends_on:
- redis
networks:
- scopeviewer-network
volumes:
- ${SLIDES_DIR}:/app/slides
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
frontend:
build:
context: .
dockerfile: ./iviewer-remoteurl/Dockerfile
container_name: scopeviewer-frontend
ports:
- "3001:3000"
environment:
- CHOKIDAR_USEPOLLING=true
volumes:
# - ./iviewer-remoteurl:/app:delegated # mount your source code
# - /app/node_modules # anonymous volume hiding host modules
- ./slides.json:/app/public/slides.json:ro
- ./smp_data:/app/public/smp_data:ro
depends_on:
- deepzoom
networks:
- scopeviewer-network