forked from SaptarshiSarkar12/Drifty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
44 lines (41 loc) · 977 Bytes
/
docker-compose.yaml
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
services:
base:
build:
context: .
dockerfile: ./Docker/dev/commons/base/Dockerfile
args:
- GRAALVM_VERSION_MAJOR=21
- MAVEN_MAJOR=3
- MAVEN_VERSION=3.8.8
container_name: drifty-base
runner:
build:
context: .
dockerfile: ./Docker/dev/commons/runner/Dockerfile
container_name: drifty-runner
cli:
depends_on:
- base
build:
context: .
dockerfile: ./Docker/dev/CLI/Dockerfile
container_name: drifty-cli
volumes:
- ${DOWNLOAD_FOLDER:-.}:/root/Downloads
- ./.drifty:/root/.drifty
gui:
depends_on:
- base
- runner
build:
context: .
dockerfile: ./Docker/dev/GUI/Dockerfile
container_name: drifty-gui
network_mode: host
privileged: true
environment:
- DISPLAY=${DISPLAY:-":0"}
volumes:
- ${DOWNLOAD_FOLDER:-.}:/root/Downloads
- /tmp/.X11-unix:/tmp/.X11-unix
- ./.drifty:/root/.drifty