mirror of
https://github.com/Tha14/uam-docker.git
synced 2025-12-06 14:46:34 +01:00
Fix listening ports. Add swarm mode and update instructions on README.md
This commit is contained in:
11
uam-swarm/entrypoint.sh
Executable file
11
uam-swarm/entrypoint.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd /tmp
|
||||
apt update && apt -yq install wget libglib2.0-0 ca-certificates dnsmasq
|
||||
update-ca-certificates
|
||||
wget https://update.u.is/downloads/uam/linux/uam-latest_amd64.deb
|
||||
dpkg -i uam-latest_amd64.deb
|
||||
cd /opt/uam/
|
||||
echo "[net]" >> /root/.uam/uam.ini
|
||||
container_ip="$(hostname -i)"
|
||||
echo "listens=[${container_ip}]:4160" >> /root/.uam/uam.ini
|
||||
./uam --pk $1 --http [0.0.0.0]:17099 --no-ui
|
||||
Reference in New Issue
Block a user