Add some infra for deployment
This commit is contained in:
parent
7ea28d4ff3
commit
73d05cb61b
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
systemctl start riju
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
systemctl stop riju
|
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Riju online coding sandbox
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=docker run -p 0.0.0.0:6119 riju
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue