diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-11 21:31:08 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-11 21:31:08 +0300 |
commit | 0319ad5bbf29b360108f9f9f45ed64b081fde569 (patch) | |
tree | 407054c8c4e06663c2a257114be0e2ceee887141 | |
parent | 7b623c8fb3a7897c567a98d04d0a44780a62f027 (diff) | |
download | arching-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-- | ContainerFile | 3 | ||||
-rwxr-xr-x | bin/ak-startup | 6 |
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 |