forked from NorESMhub/noresm-land-sites-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
83 lines (76 loc) · 2.09 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
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.9"
services:
api:
image: ghcr.io/noresmhub/ctsm-api:${API_VERSION:-latest}
restart: unless-stopped
entrypoint: /ctsm-api/docker/entrypoint_api.sh
environment:
- HOST_USER=${HOST_USER}
- HOST_UID=${HOST_UID}
- SKIP_CTSM_CHECKS=0
networks:
- default
ports:
- ${PORT:-8000}:8000
volumes:
- ./docker/api/entrypoint_api.sh:/ctsm-api/docker/entrypoint_api.sh
- ./docker/api/.env:/ctsm-api/.env
- ./resources:/ctsm-api/resources
tasks:
image: ghcr.io/noresmhub/ctsm-api:${API_VERSION:-latest}
restart: unless-stopped
entrypoint: /ctsm-api/docker/entrypoint_tasks.sh
environment:
- HOST_USER=${HOST_USER}
- HOST_UID=${HOST_UID}
networks:
- default
volumes:
- ./docker/api/.env:/ctsm-api/.env
- ./resources:/ctsm-api/resources
rabbitmq:
image: rabbitmq:3-management
restart: unless-stopped
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
networks:
- default
ui:
image: ghcr.io/noresmhub/noresm-lsp-ui:${PLATFORM_VERSION:-latest}
restart: unless-stopped
ports:
- ${PORT:-8080}:80
jupyter:
build:
context: docker/jupyter
dockerfile: Dockerfile
restart: unless-stopped
user: root
environment:
- NB_USER=${HOST_USER:-jovyan}
- NB_UID=${HOST_UID:-1000}
- NB_GID=${HOST_GID:-100}
- CHOWN_HOME=yes
- CHOWN_HOME_OPTS=-R
working_dir: /home/${HOST_USER:-jovyan}
ports:
- ${PORT:-8888}:8888
volumes:
- ./notebooks:/home/${HOST_USER:-jovyan}/notebooks
- ./resources/cases:/home/${HOST_USER:-jovyan}/cases
- ./resources/data:/home/${HOST_USER:-jovyan}/data
- ./resources/config:/home/${HOST_USER:-jovyan}/config
panoply:
build:
context: docker/panoply
dockerfile: Dockerfile
restart: unless-stopped
ports:
- ${PANOPLY_PORT:-5800}:5800
- ${PANOPLY_PORT:-5900}:5900
volumes:
- ./resources/cases:/resources/cases
- ./resources/data:/resources/data
networks:
default: