add Dockerfile for building the container
This commit is contained in:
10
daemon-files/hive-cc
Normal file
10
daemon-files/hive-cc
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="/usr/bin/dotnet"
|
||||
command_args="run --project /hiveemulator/src/CommunicationControl/DevOpsProject/DevOpsProject.CommunicationControl.API.csproj"
|
||||
pidfile="/run/hive-cc.pid"
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
depend() {
|
||||
need redis
|
||||
}
|
||||
10
daemon-files/hive-hm
Normal file
10
daemon-files/hive-hm
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="/usr/bin/dotnet"
|
||||
command_args="run --project /hiveemulator/src/CommunicationControl/DevOpsProject.HiveMind.API/DevOpsProject.HiveMind.API.csproj"
|
||||
pidfile="/run/hive-hm.pid"
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
depend() {
|
||||
need hive-cc
|
||||
}
|
||||
15
daemon-files/hive-map
Normal file
15
daemon-files/hive-map
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="npm"
|
||||
command_args="run dev"
|
||||
pidfile="/run/hive-map.pid"
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
depend() {
|
||||
need hive-cc
|
||||
}
|
||||
|
||||
start() {
|
||||
cd /hiveemulator/src/MapClient/
|
||||
${command} ${command_args}
|
||||
}
|
||||
Reference in New Issue
Block a user