Goofed Home

Conversation

$$4894
https://lemmy.world/u/captcha_incorrect posted on Feb 27, 2026 10:07
In reply to: https://lemmy.world/comment/22119925

Have you considered replace the name with input from stdin? So instead of name=synapse you could do name=$1 and have one script to use for all containers.

https://lemmy.world/comment/22374017

$$6172
https://lemmy.world/u/vane posted on Mar 2, 2026 10:58
In reply to: https://lemmy.world/comment/22374017

yeah but I don’t mind having duplicated scripts, it’s just easier to go to single script and don’t have to worry about everything else, I keep them like bin/synapse/run, bin/synapse/stop, bin/synapse/logs etc. What I haven’t figured out is better way to keep all ports in one place instead of ports.md file but on the other hand it’s not like I have thousands of containers running.

https://lemmy.world/comment/22428616
$$6181
https://lemmy.world/u/captcha_incorrect posted on Mar 2, 2026 11:31
In reply to: https://lemmy.world/comment/22428616

it’s not like I have thousands of containers running

I feel you. I have ~20 container files (some are multiple containers in one file, e.g. db and web server) and I seldom have to do changes to them. Once properly configured, I don’t really have to do anything.

https://lemmy.world/comment/22428963
Create New Post