commit the backend!!!! 🎉

This commit is contained in:
2020-06-10 11:38:57 -04:00
parent f810c0d393
commit 505e814d8c
9 changed files with 295 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
/usr/bin/websocketd \
--port=80 \
--binary \
--header-ws="Sec-WebSocket-Protocol: binary" \
--origin=y2k.land,www.y2k.land,y2k.jakejarvis.workers.dev \
-- \
docker run \
--cpus 1 \
--memory 200m \
--network none \
--log-driver none \
--rm -i \
jakejarvis/y2k:latest
# NOTE: if not using Docker, the command is:
# /root/y2k/backend/bin/boot.rb /root/y2k/backend/hdd /usr/bin/qemu-system-i386