-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 1.01 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
services:
logging-service:
build: ./logging-service
container_name: logging-service
restart: always
environment:
PORT: 8080
ports:
- '8080:8080'
networks:
- led-hub-network
volumes:
- led-hub-log-data:/app/data
server:
build: ./server
container_name: led-hub-server
restart: always
ports:
- '${LED_HUB_BACKEND_PORT:-2000}:2000'
environment:
LOGGING_SERVICE_ENDPOINT: http://logging-service:8080
SERVER_PORT: 2000
networks:
- led-hub-network
volumes:
- led-hub-data:/app/data
platform: linux/amd64
webapp:
build:
context: ./webapp
args:
BACKEND_HOST: server
BACKEND_PORT: 2000
LOGGER_HOST: logging-service
LOGGER_PORT: 8080
WEBAPP_PORT: 80
restart: always
ports:
- '${LED_HUB_WEBAPP_PORT:-80}:80'
depends_on:
- server
networks:
- led-hub-network
networks:
led-hub-network:
volumes:
led-hub-data:
led-hub-log-data: