-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 1.18 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
version: "3"
services:
app-1:
build:
context: ./CheatHub
dockerfile: Dockerfile
container_name: 'app-1'
restart: "on-failure"
expose:
- "8443"
environment:
- SERVICIO_INTERNO_NAME=intserv
depends_on:
- intserv
app-2:
build:
context: ./CheatHub
dockerfile: Dockerfile
container_name: 'app-2'
restart: "on-failure"
expose:
- "8443"
environment:
- SERVICIO_INTERNO_NAME=intserv
depends_on:
- intserv
intserv:
build:
context: ./servicioInternoCheatHub
dockerfile: Dockerfile
container_name: 'intserv-cheathub'
restart: "on-failure"
expose:
- "8080"
balanceador:
build:
context: ./haproxy
dockerfile: Dockerfile
container_name: 'balanceador-cheathub'
ports:
- "80:80"
- "443:443"
- "8404:8404"
restart: "on-failure"
depends_on:
- app-1
- app-2