-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 796 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 796 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
services:
# Keycloak - Authentication
keycloak:
image: keycloak/keycloak:26.3.5
container_name: energy-keycloak
ports:
- "9080:8080"
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
command: start-dev
networks:
- energy-network
# Backend - Spring Boot
backend:
build: ./backend
container_name: energy-backend
ports:
- "8080:8080"
depends_on:
- keycloak
networks:
- energy-network
# Frontend - Vue
frontend:
build: ./frontend
container_name: energy-frontend
ports:
- "5173:5173"
depends_on:
- backend
networks:
- energy-network
volumes:
- ./frontend:/app
- /app/node_modules
networks:
energy-network:
driver: bridge