-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (61 loc) · 1.47 KB
/
docker-compose.yml
File metadata and controls
66 lines (61 loc) · 1.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
services:
jones: &jones
image: 'nes-emulator/jones-base:local'
build:
dockerfile: 'cm/docker/base/Dockerfile'
context: .
volumes:
- '.:/jones'
working_dir: '/jones'
jones-emsdk:
image: 'nes-emulator/jones-emsdk:local'
<<: *jones
depends_on:
- 'jones'
build:
dockerfile: 'docker/Dockerfile'
context: 'external/wasm/emsdk/source'
args:
- EMSCRIPTEN_VERSION=2.0.12
jones-flutter:
image: 'nes-emulator/jones-flutter:local'
<<: *jones
depends_on:
- 'jones'
build:
dockerfile: 'cm/docker/flutter/Dockerfile'
context: .
jones-dev:
image: 'nes-emulator/jones-dev:local'
<<: *jones
depends_on:
- 'jones-flutter'
build:
dockerfile: 'cm/docker/dev/Dockerfile'
context: .
volumes:
- '.:/jones'
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '$HOME/.Xauthority:/home/jones/.Xauthority'
environment:
- DISPLAY
tty: true
user: ${JONES_UID:-1000:1000}
jones-dev-mac:
image: 'nes-emulator/jones-dev:local'
<<: *jones
depends_on:
- 'jones-flutter'
build:
dockerfile: 'cm/docker/dev/Dockerfile'
context: .
volumes:
- '.:/jones'
- '$HOME/.Xauthority:/home/jones/.Xauthority'
environment:
- DISPLAY=host.docker.internal:0
- SDL_VIDEODRIVER=x11
- SDL_RENDER_DRIVER=software
- XAUTHORITY=/home/jones/.Xauthority
tty: true
user: ${JONES_UID:-1000:1000}