-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (61 loc) · 1.38 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
# docker compose file for the project with three services
version: '3.7'
services:
hadesAPI:
image: ghcr.io/ls1intum/hades/hades-api
build:
context: .
dockerfile: ./HadesAPI/Dockerfile
ports:
# Set the Port to 8081 to avoid conflicts with the artemis server
- "8081:8080"
networks:
- hades
depends_on:
redis:
condition: service_healthy
environment:
- REDIS_ADDR=redis:6379
- REDIS_PWD
hadesScheduler:
image: ghcr.io/ls1intum/hades/hades-scheduler
build:
context: .
dockerfile: ./HadesScheduler/Dockerfile
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
networks:
- hades
depends_on:
redis:
condition: service_healthy
environment:
- REDIS_ADDR=redis:6379
- REDIS_PWD
- HADES_EXECUTOR=docker
redis:
image: redis:7.2
ports:
- "6379:6379"
networks:
- hades
environment:
- REDIS_PWD
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
fluentbit:
container_name: fluentbit
image: fluent/fluent-bit
networks:
- hades
ports:
- "24224:24224"
command: /fluent-bit/bin/fluent-bit -i forward -o stdout -p format=json_lines -f 1
networks:
hades: