-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
48 lines (47 loc) · 1.19 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
networks:
example:
driver: bridge
services:
proxy:
container_name: proxy
image: nginx
restart: always
ports:
- 443:443
- 80:80
volumes:
# - ./docker/proxy/service-example/nginx.conf:/etc/nginx/nginx.conf
- ./data/_.evl.uic.edu.key:/etc/ssl/evl.key
- ./data/_.evl.uic.edu.crt:/etc/ssl/evl.crt
- ./docker/proxy/https-forwarding.conf:/etc/nginx/conf.d/https-forwarding.conf
networks:
- example
depends_on:
- dassfrontend
- dassbackend
dassfrontend:
container_name: dassfrontend
restart: unless-stopped
image: node:20.11.1-alpine3.19
ports:
- 9000:9000
volumes:
- ./:/workspace/QubbedDataAnalysis
- ./docker/frontend/init.sh:/usr/local/bin/init.sh
entrypoint: sh -c "sh /usr/local/bin/init.sh"
networks:
- example
dassbackend:
container_name: dassbackend
restart: unless-stopped
build:
context: ./docker/backend
dockerfile: Dockerfile
ports:
- 8000:8000
volumes:
- ./:/workspace/QubbedDataAnalysis
- ./docker/backend/init.sh:/usr/local/bin/init.sh
entrypoint: sh -c "sh /usr/local/bin/init.sh"
networks:
- example