-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
98 lines (97 loc) · 3.73 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: '3'
services:
backend:
build: backend
# ports:
# - "9001:9000"
volumes:
- ./backend/config:/config
- ./backend/adagucdb:/adaguc/adagucdb
- /data/adaguc-logs/:/var/log/adaguc
- ./backend/adaguc-datasets:/data/adaguc-datasets
- "${STATIC_DATA_LOCATION}:/data/adaguc-data"
- "${STATIC_DATA_LOCATION}:/data/adaguc-autowms"
- /data/adaguc-services-controller-home/:/data/adaguc-services-home/
- ./backend/security:/security
environment:
- "EXTERNALADDRESS=https://${EXTERNAL_HOSTNAME}/backend"
- "EXTERNAL_HOSTNAME=${EXTERNAL_HOSTNAME}"
- "COPERNICUS_WPS_URL=${COPERNICUS_WPS_URL}"
- "CLIMEXP_WPS_URL=${CLIMEXP_WPS_URL}"
# New application can be created at https://console.developers.google.com/apis/credentials
- "OAUTHCLIENTSECRET=${OAUTHCLIENTSECRET}"
- "OAUTHCLIENTID=${OAUTHCLIENTID}"
- "CEDA_OAUTHCLIENTSECRET=${CEDA_OAUTHCLIENTSECRET}"
- "CEDA_OAUTHCLIENTID=${CEDA_OAUTHCLIENTID}"
restart: unless-stopped
links:
- "nginx:${EXTERNAL_HOSTNAME}"
climexp_numerical_wps:
image: c3smagic/climexp_numerical_wps
hostname: climexp_numerical_wps
volumes:
- /data/climexp:/data
restart: unless-stopped
frontend:
build: frontend
environment:
- "BACKEND=https://${EXTERNAL_HOSTNAME}/backend"
- "COMPUTE=https://compute:9000"
- "VIEWER=https://${EXTERNAL_HOSTNAME}/adaguc-viewer"
- "STATICWMS=https://${EXTERNAL_HOSTNAME}/backend/wms"
- "DATAURL=https://${EXTERNAL_HOSTNAME}/data"
#This is usually part of the backend, but you can optionally also use the live version
#if you do not have the datasets available locally.
#ports:
# - "3000:3000"
#volumes:
#- ./letsencrypt/.well-known:/frontend/c3s-magic-frontend/dist/.well-known
depends_on:
- adaguc-viewer
- backend
restart: unless-stopped
adaguc-viewer:
image: openearth/adaguc-viewer
#ports:
# - "8080:80"
environment:
- "ADAGUCSERVICES_AUTOWMS=https://${EXTERNAL_HOSTNAME}/backend/autowms?"
restart: unless-stopped
wps:
build: c3s-magic-wps
#debug wps by exposing this port over http
#ports:
# - "5000:5000"
environment:
- "WPS_OUTPUT_URL=https://${EXTERNAL_HOSTNAME}/wps/outputs/"
- "CMIP_DATA_ROOT=/cmip5"
volumes:
- "${ESMVALTOOL_CMIP5}:/cmip5"
- "${ESMVALTOOL_OBS}:/obs"
restart: unless-stopped
esgfsearch:
build: esgfbrowser
environment:
- "searchservice=https://${EXTERNAL_HOSTNAME}/backend/esgfsearch/search?"
- "catalogbrowserservice=https://${EXTERNAL_HOSTNAME}/backend/esgfsearch/catalog?"
- "adagucservice=https://${EXTERNAL_HOSTNAME}/backend/adagucserver?"
- "getvariables=https://${EXTERNAL_HOSTNAME}/backend/esgfsearch/getvariables?"
- "xml2jsonservice=https://${EXTERNAL_HOSTNAME}/backend/xml2json?"
- "adagucviewer=https://${EXTERNAL_HOSTNAME}/adaguc-viewer"
ports:
- "10080:80"
restart: unless-stopped
nginx:
build: nginx
ports:
- "80:80"
- "443:443"
env_file:
- .env
volumes:
- ./letsencrypt:/etc/letsencrypt
- ./cert:/cert
- ./ca-cert:/ca-cert
- ./backend/security:/backend-security/
- ${STATIC_DATA_LOCATION}/c3smagic:/publicdata
restart: unless-stopped