forked from eclipse-archived/codewind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
36 lines (34 loc) · 1015 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
version: "2"
services:
codewind-pfe:
image: ${REPOSITORY}codewind-pfe${PLATFORM}:${TAG}
container_name: codewind-pfe
# Run as root (not mcuser) in local docker so portal can access the docker socket
user: root
environment:
- HOST_WORKSPACE_DIRECTORY=${WORKSPACE_DIRECTORY}
- CONTAINER_WORKSPACE_DIRECTORY=/codewind-workspace
- HOST_OS=${HOST_OS}
- CODEWIND_VERSION=${TAG}
- PERFORMANCE_CONTAINER=codewind-performance${PLATFORM}:${TAG}
- REMOTE_MODE=${REMOTE_MODE}
- HOST_HOME=${HOST_HOME}
- HOST_MAVEN_OPTS=${HOST_MAVEN_OPTS}
depends_on:
- codewind-performance
ports:
- "127.0.0.1:9090:9090"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- network
codewind-performance:
build: ./src/performance/.
image: codewind-performance${PLATFORM}:${TAG}
ports:
- "127.0.0.1:9095:9095"
container_name: codewind-performance
networks:
- network
networks:
network: