From 0319ad5bbf29b360108f9f9f45ed64b081fde569 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Sep 2023 21:31:08 +0300 Subject: Exposes API port, introduced startup script --- ContainerFile | 3 ++- bin/ak-startup | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 bin/ak-startup diff --git a/ContainerFile b/ContainerFile index 0dbea43..59c5444 100644 --- a/ContainerFile +++ b/ContainerFile @@ -8,6 +8,7 @@ RUN git config --global init.defaultBranch master EXPOSE 4001/tcp EXPOSE 5001/tcp EXPOSE 8080/tcp -ENTRYPOINT ["tail","-f","/root/.arching-kaos/logs"] +EXPOSE 8610/tcp +ENTRYPOINT ["/root/.arching-kaos/bin/ak-startup"] diff --git a/bin/ak-startup b/bin/ak-startup new file mode 100755 index 0000000..a8a3e34 --- /dev/null +++ b/bin/ak-startup @@ -0,0 +1,6 @@ +#!/bin/bash +PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:$HOME/bin:$HOME/.arching-kaos/bin +screen -dmS ipfs-daemon ipfs daemon +source $HOME/.arching-kaos/rc +screen -dmS akdaemon ak-daemon +ak-logfollow -- cgit v1.2.3