-
Notifications
You must be signed in to change notification settings - Fork 23
/
docker-compose.yml
62 lines (58 loc) · 1.94 KB
/
docker-compose.yml
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
version: '3'
services:
sc-server:
image: usgs/shakecast:latest
environment:
SHAKECAST_USER_ID: ${SHAKECAST_USER_ID}
SC_DOCKER: 1
expose:
- "1981"
networks:
- sc-network
volumes:
- "~/pycast/db:/usr/local/shakecast/shakecast/db"
- "~/pycast/eq_data:/usr/local/shakecast/shakecast/data"
- "~/pycast/tmp:/usr/local/shakecast/shakecast/tmp"
- "~/pycast/conf:/usr/local/shakecast/shakecast/conf"
- "~/pycast/templates:/usr/local/shakecast/shakecast/templates"
- "~/pycast/logs:/usr/local/shakecast/shakecast/logs"
- "~/pycast/local_products:/usr/local/shakecast/shakecast/local_products"
- "~/pycast/assets:/usr/local/shakecast/shakecast/view/assets"
restart: unless-stopped
web-server:
image: usgs/shakecast:latest
depends_on:
- sc-server
ports:
- "80:5000"
environment:
APP_SERVER: 'false'
SHAKECAST_SERVER_HOST_NAME: 'sc-server'
SHAKECAST_WEB_PORT: 5000
SHAKECAST_USER_ID: ${SHAKECAST_USER_ID}
networks:
- sc-network
volumes:
- "~/pycast/db:/usr/local/shakecast/shakecast/db"
- "~/pycast/eq_data:/usr/local/shakecast/shakecast/data"
- "~/pycast/tmp:/usr/local/shakecast/shakecast/tmp"
- "~/pycast/conf:/usr/local/shakecast/shakecast/conf"
- "~/pycast/templates:/usr/local/shakecast/shakecast/templates"
- "~/pycast/logs:/usr/local/shakecast/shakecast/logs"
- "~/pycast/local_products:/usr/local/shakecast/shakecast/local_products"
- "~/pycast/assets:/usr/local/shakecast/shakecast/view/assets"
restart: unless-stopped
image-server:
image: usgs/shakecast-imaging:latest
networks:
- sc-network
volumes:
- "~/pycast/local_products:/usr/local/shakecast/shakecast/local_products"
environment:
SHAKECAST_USER_ID: ${SHAKECAST_USER_ID}
expose:
- "5000"
restart: unless-stopped
networks:
sc-network:
driver: bridge