-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose-all.yml
42 lines (42 loc) · 1.09 KB
/
docker-compose-all.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
version: '2.2'
services:
web:
build: .
image: try-haxe_web
ports:
- "127.0.0.1:623:80"
volumes:
- ./www:/var/www/html:ro
- ./hashlink-bin:/srv/try-haxe/hashlink:ro
- ./lixSetup:/srv/try-haxe/lixSetup:ro
- ./programs:/srv/try-haxe/programs
- ./tmp:/srv/try-haxe/outTemp
- /var/run/docker.sock:/var/run/docker.sock
command: sh -c "service apache2 start && tail -f /dev/null"
cpus: 1.5
mem_limit: 8gb
mem_reservation: 4gb
try_haxe_setup:
image: try-haxe_lix-setup
container_name: try-haxe_lix-setup
build: ./lixSetup
volumes:
- ./lixSetup:/srv/lixSetup
try_haxe_compiler:
image: try-haxe_compiler
container_name: try-haxe_compiler
build: ./compilation
volumes:
- ./hashlink-bin:/opt/hashlink:ro
- ./lixSetup/haxe:/home/haxer/haxe:ro
- ./tmp:/home/haxer/programs
command: sh -c "tail -f /dev/null"
user: haxer
cpus: 6
mem_limit: 20gb
mem_reservation: 8gb
hl.exe:
build: ./hashlink-bin
image: try-haxe_hl.exe
volumes:
- ./hashlink-bin:/hashlink-bin