Skip Navigation
Self-Hosted Alternatives to Popular Services @lemmit.online Lemmit.Online bot @lemmit.online
BOT

Start docker container/compose when URL is accessed

This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/Inside-Imagination14 on 2023-08-05 12:51:22.


I would like to reduce my VPS usage a bit. I run a few services that use around 1go of ram and 5% of CPU each. However, I don't need these services up and running all the time.

Is there a way I can make them stop after idk 1 hour of idling, and make them start automatically when I access their public URL?

For example, I'm running guacamole (through Nginx Proxy Manager proxy) using Docker (Compose). I don't need it often. I would like to start it by accessing remote.domain.tld, and then let it stop by itself after 1 hour.

Any comment appreciated :)

0
0 comments