-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (45 loc) · 1002 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (45 loc) · 1002 Bytes
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.9"
services:
mongodb:
image: mongo:7
container_name: mongo_hypesoft
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
mongo-express:
image: mongo-express:latest
container_name: mongo_express_hypesoft
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_SERVER: mongodb
depends_on:
- mongodb
backend:
build: ./backend
container_name: api_hypesoft
ports:
- "5000:5000"
depends_on:
- mongodb
frontend:
build: ./frontend
container_name: frontend_hypesoft
ports:
- "3000:3000"
depends_on:
- backend
keycloak:
image: quay.io/keycloak/keycloak:24.0
container_name: keycloak_hypesoft
command: start-dev --import-realm
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- "8080:8080"
volumes:
- ./keycloak/realm-export.json:/opt/keycloak/data/import/realm-export.json
volumes:
mongo_data: