-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
92 lines (81 loc) · 2.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
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
version: '1.0'
networks:
frontendnetwork:
budgetnetwork:
keycloaknetwork:
services:
ui:
build:
context: /UI
ports:
- 8011:80
networks:
- frontendnetwork
apigateway:
build:
context: /ApiGateway
ports:
- 8010:8080
networks:
- frontendnetwork
- budgetnetwork
budgetdb:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=tHiSiS_NoT@PAsSW&d
- ACCEPT_EULA=Y
ports:
- 1433:1433
networks:
- budgetnetwork
budgetapi:
image: jluka26/budgetmanager:latest
build:
context: /BudgetManager
depends_on:
- budgetdb
environment:
- db_host=budgetdb
- db_name=BudgetDB
- db_password=tHiSiS_NoT@PAsSW&d
- db_port=1433
- ASPNETCORE_ENVIRONMENT=Development
networks:
- budgetnetwork
identityapi:
image: jluka26/identitymanager:latest
build:
context: /IdentityManager
networks:
- keycloaknetwork
- frontendnetwork
keycloak-db:
image: postgres:13
environment:
- POSTGRES_DB=keycloak
- POSTGRES_USER=keycloak
- POSTGRES_PASSWORD=keycloakpasswd123
volumes:
- keycloak-db-data:/var/lib/postgresql/data
networks:
- keycloaknetwork
keycloak:
image: quay.io/keycloak/keycloak:latest
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
- DB_VENDOR=postgres
- DB_ADDR=keycloak-db
- DB_DATABASE=keycloak
- DB_USER=keycloak
- DB_PASSWORD=keycloakpasswd123
- KEYCLOAK_FRONTEND_URL=http://localhost:8050
command: start-dev --hostname-strict=false
depends_on:
- keycloak-db
ports:
- 8050:8080
networks:
- keycloaknetwork
volumes:
keycloak-db-data: