aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-11 21:31:08 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-11 21:31:08 +0300
commit0319ad5bbf29b360108f9f9f45ed64b081fde569 (patch)
tree407054c8c4e06663c2a257114be0e2ceee887141
parent7b623c8fb3a7897c567a98d04d0a44780a62f027 (diff)
downloadarching-kaos-tools-0319ad5bbf29b360108f9f9f45ed64b081fde569.tar.gz
arching-kaos-tools-0319ad5bbf29b360108f9f9f45ed64b081fde569.tar.bz2
arching-kaos-tools-0319ad5bbf29b360108f9f9f45ed64b081fde569.zip
Exposes API port, introduced startup script
-rw-r--r--ContainerFile3
-rwxr-xr-xbin/ak-startup6
2 files changed, 8 insertions, 1 deletions
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