-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·56 lines (51 loc) · 1.17 KB
/
docker-compose.yml
File metadata and controls
executable file
·56 lines (51 loc) · 1.17 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
48
49
50
51
52
53
54
55
56
version: '3.5'
services:
deepzoom-server:
build:
context: ./server
dockerfile: ./Dockerfile
image: wsi-server:1.0.0
container_name: deepzoom-server
shm_size: '120gb'
ports:
- 3000:3000
command: python deepzoom_multiserver.py
restart: always
volumes:
- ./server/src:/workspace
- /home/ubuntu/docker_share/data:/data
- /home/ubuntu/docker_share/model:/model
environment:
- TZ=Asia/Seoul
stdin_open: true
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
driver: local
options:
max-size: 10m
networks:
- web_net
deepzoom-client:
restart: always
build:
context: ./client
dockerfile: Dockerfile
image: wsi-client:1.0.0
container_name: deepzoom-client
volumes:
- /home/ubuntu/docker_share/data:/data
- ./client/src:/app/src
ports:
- 5000:5000
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- web_net
networks:
web_net:
driver: bridge
#attachable: true
external: true
#internal: true