-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
52 lines (48 loc) · 1.12 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
version: '2'
services:
robot-framework:
build:
context: ./docker/robot-javafx-demo
ports:
- '80:80'
volumes:
- './src/test/robotframework/:/robot'
- screen-thing:/tmp/.X11-unix
- javafxbinaryshare:/javafxbinary
networks:
- testapp
environment:
- RESOLUTION=1920x1080
- X11VNC_ARGS=-multiptr
javafxcompile:
build:
context: ./
dockerfile: Dockerfile_build
restart: on-failure
networks:
- testapp
volumes:
- './src/test/robotframework/:/robot' # Required for executing tests from robot-framework container
- screen-thing:/tmp/.X11-unix
- javafxbinaryshare:/javafxbinary
environment:
- DISPLAY=:1
# javafxrelease:
# build:
# context: ./
# dockerfile: Dockerfile_release
# restart: on-failure
# networks:
# testapp:
# aliases:
# - javafxcompile
# volumes:
# - './src/:/src' # ScreenCapturingTest.robot require this.
# - screen-thing:/tmp/.X11-unix
# environment:
# - DISPLAY=:20.0
networks:
testapp:
volumes:
screen-thing:
javafxbinaryshare: