Commit Graph

23 Commits

Author SHA1 Message Date
mmmohebi 9888dab444 chore(.github/workflows): Lowercase image name in GHCR
Converts the GitHub repository name to lowercase when constructing the `IMAGE_NAME` for pushing to GitHub Container Registry. This ensures consistency and avoids potential issues with case-sensitive image names.
2025-11-18 12:45:38 +03:30
mmmohebi a2f8eed254 feat: Add Dockerfile, .dockerignore, and CI workflow
Introduces a Dockerfile for building images, a .dockerignore file to exclude unnecessary files, and a GitHub Actions workflow for automatically building and pushing Docker images to GHCR upon release.
2025-11-18 12:38:11 +03:30
mmmohebi 0c17cdb284 fix(Dockerfile): Update base image and requirements handling
Replaced 'frolvlad/alpine-python3' with 'python:3.14-alpine'.
Modified installation to use requirements.txt for dependencies.
Updated COPY commands for hoster.py and requirements.txt.
2025-11-18 12:27:30 +03:30
mmmohebi c6019d7852 fix: Update LICENSE copyright
Add new copyright holder to LICENSE file.
2025-11-18 12:24:53 +03:30
mmmohebi 35126dcb7f feat: Add project dependencies
Includes necessary libraries such as certifi, charset-normalizer, docker, idna, requests, and urllib3.
2025-11-18 12:24:43 +03:30
mmmohebi 7ea0ee327b fix(hoster.py): Refactor event handling and hosts file update
Refactored the Docker event handling to use json parsing for more robust event processing. Updated the hosts file update logic to correctly handle existing sections and ensure atomic writes. Improved container info extraction and error handling.
2025-11-18 12:24:33 +03:30
mmmohebi aaf88f526c fix: Add hosts to .gitignore
Exclude generated hosts file from version control.
2025-11-18 11:40:47 +03:30
mmmohebi 68d88cc281 feat(.gitignore): Add .gitignore file
Includes .idea and .venv directories to be ignored by Git.
2025-11-18 11:31:38 +03:30
David Darias 7a5eeb03e8
Merge pull request #17 from aureleoules/develop
Handle container rename
2023-10-23 18:23:22 -04:00
Aurele Oules eb55a805b4 Handle container rename 2023-10-23 23:27:47 +02:00
David Darias 581f5c1e66
Merge pull request #7 from pemcconnell-anyvision/develop
Only attempt lines trim if the list isn't empty
2020-04-28 18:26:49 -04:00
Peter McConnell 74fa987b9e Only attempt lines trim if the list isn't empty 2020-04-27 20:26:00 +01:00
David Darias 05231ffae0
Merge pull request #6 from ederuiter/ederuiter-domainname
Append domain name to host name
2020-03-10 10:41:16 -04:00
Eric de Ruiter c0436fd225
Append domain name to host name 2020-03-09 16:48:05 +01:00
David Darias b94a8f336d
Update README.md 2018-07-01 13:31:51 -04:00
David Darias ceb275ce2d Filter docker events by type 2018-06-30 16:55:28 -04:00
David Darias 5d130b9303 Include support for docker network aliases 2018-06-30 16:38:01 -04:00
David Darias 1e96db458d Fixed a bug on container stop 2015-11-18 21:24:45 -05:00
David Darias a8d70c0fcc Create README.md 2015-11-02 23:00:24 -05:00
David Darias 3b2ed478de Fixed dockerfile ADD command 2015-11-02 22:22:43 -05:00
David Darias e6f11d08b6 Changed the base image to Alpine 2015-11-02 21:46:56 -05:00
David Darias 5e6a2919bf Initial commit 2015-11-02 21:27:37 -05:00
David Darias f38c040d39 Initial commit 2015-11-02 21:19:10 -05:00