From 8776424b0115dc289630461f9458da6242f2dc97 Mon Sep 17 00:00:00 2001 From: quaintdev <59229571+quaintdev@users.noreply.github.com> Date: Tue, 5 Apr 2022 01:49:19 +0530 Subject: [PATCH] Added Podman install instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index edacf7c..985a82a 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,21 @@ You can use the following optional environment variables to configure/customise You can map the "backgrounds" and "sites" directories to local directories as shown in the Docker Compose example above. Your local directories will be populated with Jump's default files when the container is next started unless the local directories already contain files, in which case the local files will be used by Jump instead. +### Podman +The following will start Jump and serve the page at http://localhost:8123 with a custom site name, Open Weather Map support, and volumes to map Jump's "backgrounds" and "sites" directories to local directories on your machine... + +``` +podman run -d --volume :/backgrounds:Z \ +--volume :/sites:Z -p 8123:8080 \ +--env SITENAME='Welcome' --env OWMAPIKEY='' \ +--env LATLONG='' --name jump docker.io/daledavies/jump +``` +This will start the service but you will have to run above command again in case of power cycle. To make this config more permanent do this +1. Go to Systemd user director usually located in `~/.config/systemd/user/` +2. Generate Systemd unit file using `podman generate systemd --new --name jump > jump.service` +3. Use `--user` attribute to run the service as a user service `systemd --user start containe-jump.service` + + ### Without Docker Clone this repository and copy everything within the `jumpapp` directory to your server, edit `config.php` accordingly.