confounded

This commit is contained in:
SpudGunMan
2025-10-23 22:09:34 -07:00
parent d883927572
commit ccb505f37f
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -10,6 +10,7 @@ services:
#- /dev/ttyACM0:/dev/tty #if using serial select proper port
volumes:
- .:/app:ro
- ./config.ini:/app/config.ini:rw
- ./logs:/app/logs:rw
- ./data:/app/data:rw
image: ghcr.io/spudgunman/meshing-around:main
-3
View File
@@ -1,3 +0,0 @@
[interface]
type = tcp
hostname = localhost:4403
+2 -1
View File
@@ -2,7 +2,8 @@
# if no config.ini exists, copy the default one
if [ ! -f /app/config.ini ]; then
cp /app/script/docker/config.template /app/config.ini
cp script/docker/config.template script/docker/config.ini
sed -i '' -e '/^\[interface\]/,/^[^[]/ s/type = .*/type = tcp/' -e '/^\[interface\]/,/^[^[]/ s/hostname = .*/hostname = localhost:4403/' script/docker/config.ini
fi
# Run the bot as appuser (if you want to drop privileges)