forked from OpenDSA/OpenDSA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (46 loc) · 1.17 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
version: '3.7'
services:
opendsa:
build:
context: .
dockerfile: Dockerfile
image: opendsa/opendsa:latest
volumes:
- .:/opendsa
ports:
- 8080:8080
expose:
- 8080
labels:
traefik.http.routers.opendsa.rule: Host(`opendsa.localhost.devcom.vt.edu`)
traefik.http.services.opendsa.loadbalancer.server.port: 8080
deforms:
profiles: ['deforms']
build:
context: .
dockerfile: Dockerfile.deforms
image: opendsa/deforms:latest
volumes:
- .:/opendsa
ports:
- 8081:8080
expose:
- 8081
depends_on:
- proxy
labels:
traefik.http.routers.deforms.rule: Host(`deforms.localhost.devcom.vt.edu`)
traefik.http.services.deforms.loadbalancer.server.port: 8080
proxy:
image: code.vt.edu:5005/devcom/devcom-localhost-proxy:traefik-2.3
ports:
- 80:80
- 443:443
- 127.0.0.1:8000:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
default:
aliases: # Ensure all container-to-container HTTP requests go through the proxy
- opendsa.localhost.devcom.vt.edu
- deforms.localhost.devcom.vt.edu