-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (83 loc) · 1.93 KB
/
docker-compose.yml
File metadata and controls
93 lines (83 loc) · 1.93 KB
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
84
85
86
87
88
89
90
91
92
93
version: "3"
services:
#Phoenix Gateway (WS API - Channels & REST API)
phoenix_gateway:
container_name: phoenix_gateway
build:
context: ./gateway
dockerfile: Dockerfile
ports:
- '9999:9999'
environment:
# will load config from `gateway/config/prod.exs`
MIX_ENV: prod
depends_on:
- ms-sql-server
- auth_service
- main_api
- postgres_image
# Client Application
react_client:
container_name: react_client
build:
context: ./client
dockerfile: Dockerfile
ports:
- '3000:3000'
depends_on:
- phoenix_gateway
# Cron Service API
cron-service:
container_name: cron_service
image: nicolaedockerid/cronservice
ports:
- '8084:80'
# Mailing Service API
mailing-service:
container_name: mailing_service
image: nicolaedockerid/mailingservice
ports:
- '8083:80'
# Connector Service API
connector-service:
container_name: connector_service
image: nicolaedockerid/connectorservice
ports:
- '8082:80'
# Auth Service API
auth_service:
container_name: auth_service
image: nicolaedockerid/authservice
ports:
- '8080:80'
depends_on:
- ms-sql-server
# MSSQL instance (for Auth Service)
ms-sql-server:
container_name: ms-sql-server
image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "aDMIN123*"
MSSQL_PID: EXPRESS
ports:
- '1433:1433'
# Main API
main_api:
container_name: main_api
image: dpuscas/teza-fuf
ports:
- '8081:80'
depends_on:
- postgres_image
# Postgres instance (for Main API)
postgres_image:
container_name: main_api_postgres
image: postgres:latest
ports:
- '5432'
restart: always
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "191993acces"
POSTGRES_DB: "MainDb"