-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
48 lines (44 loc) · 1.28 KB
/
docker-compose.dev.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
version: '3.8'
services:
thredds:
container_name: thredds
# image: unidata/thredds-docker:latest
image: dxogo/mctw-cesam-thredds:latest
ports:
- "80:8080"
volumes: # These bind mounts have to be changed inside the CESAM host
# The /public directory contains the .nc files
- /var/thredds/public:/usr/local/tomcat/content/thredds/public
# The web.xml contains CORS configuration for the React server
- /var/thredds/web.xml:/usr/local/tomcat/webapps/thredds/WEB-INF/web.xml
# The catalog.xml contains new catalog configuration for CESAM data
- /var/thredds/catalog.xml:/usr/local/tomcat/content/thredds/catalog.xml
networks:
- thredds_network
backend:
container_name: backend
image: dxogo/mctw-cesam-backend:latest
# build:
# context: ./backend
# dockerfile: Dockerfile.dev
ports:
- "3001:3001"
volumes:
- ./backend:/app
- /app/node_modules
networks:
- thredds_network
frontend:
container_name: frontend
image: dxogo/mctw-cesam-frontend:latest
# build:
# context: ./frontend
# dockerfile: Dockerfile.dev
ports:
- "3000:3000"
volumes:
- ./frontend/src:/app/src
networks:
- thredds_network
networks:
thredds_network: