diff --git a/CONTAINER.md b/CONTAINER.md index 176dbdc..5ee352d 100644 --- a/CONTAINER.md +++ b/CONTAINER.md @@ -3,13 +3,13 @@ Use `podman` or `docker`: ```sh -podman run registry.philo.ydns.eu/philo/sms_handler +podman run registry.philo.ydns.eu/philo/sms-handler ``` Parameters are given as environment variables, eg.: ```sh -podman run -e SMS_HANDLER_MAIL_SERVER_PORT=8025 -e SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com SMS_HANDLER_MAIL_TO=snoopy@peanuts.com registry.philo.ydns.eu/philo/sms_handler +podman run -e SMS_HANDLER_MAIL_SERVER_PORT=8025 -e SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com SMS_HANDLER_MAIL_TO=snoopy@peanuts.com registry.philo.ydns.eu/philo/sms-handler ``` ## Container as a systemd service @@ -26,7 +26,7 @@ The configuration is given as environment variables (email addresses `snoopy@pea ContainerName=sms-handler Environment=SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com Environment=SMS_HANDLER_MAIL_TO=snoopy@peanuts.com -Image=registry.philo.ydns.eu/philo/sms_handler +Image=registry.philo.ydns.eu/philo/sms-handler Network=podman PublishPort=8025:8025 @@ -64,7 +64,7 @@ For a rootless container, create a file in `/etc/containers/systemd/sms-handler. ContainerName=sms-handler Environment=SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com Environment=SMS_HANDLER_MAIL_TO=snoopy@peanuts.com -Image=registry.philo.ydns.eu/philo/sms_handler +Image=registry.philo.ydns.eu/philo/sms-handler Network=podman PublishPort=8025:8025 diff --git a/Containerfile b/Containerfile index 0d48dde..88bf1c6 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -# Build: podman build -t registry.philo.ydns.eu/philo/sms_handler -f Containerfile +# Build: podman build -t registry.philo.ydns.eu/philo/sms-handler -f Containerfile FROM docker.io/python:3.12-alpine COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/ diff --git a/pyproject.toml b/pyproject.toml index a19d8ae..0d4cd7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sms_handler" -version = "0.0.5" +version = "0.0.6" #dynamic = ["version"] description = "Listen to messages from the SMS Forwarder app on Android and send mail" readme = "README.md"