Added Podman install instructions

This commit is contained in:
quaintdev
2022-04-05 01:49:19 +05:30
committed by GitHub
parent 7f5358e85f
commit 8776424b01

View File

@@ -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 <path/to/backgrounds>:/backgrounds:Z \
--volume <path/to/sites>:/sites:Z -p 8123:8080 \
--env SITENAME='Welcome' --env OWMAPIKEY='<open weather api key>' \
--env LATLONG='<lat, lon>' --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.