Skip to content

Commit 73558d6

Browse files
author
Jing Liu
committed
added heprapp in compose.yml
1 parent 997e96f commit 73558d6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,21 @@ services:
2222
environment: [ TZ=US/Central ]
2323
hostname: AlmaLinux # https://stackoverflow.com/a/63291253/1801749
2424
build: 11.2.1
25+
heprapp: # docker compose run --rm heprapp
26+
command: /usr/bin/hv # launch HepRApp
27+
image: physino/heprapp # https://hub.docker.com/r/physino/heprapp
28+
profiles: [ "heprapp" ]
29+
environment:
30+
- DISPLAY=host.docker.internal:0.0
31+
extra_hosts:
32+
- "host.docker.internal:host-gateway"
33+
volumes:
34+
- /tmp/.X11-unix:/tmp/.X11-unix
35+
- .:/root/geant4
36+
# https://github.com/microsoft/WSL/issues/5339#issuecomment-1125709672
37+
# https://docs.docker.com/compose/compose-file/#sysctls
38+
sysctls:
39+
- net.ipv4.tcp_keepalive_intvl=60
40+
- net.ipv4.tcp_keepalive_probes=5
41+
- net.ipv4.tcp_keepalive_time=300
42+

0 commit comments

Comments
 (0)