mirror of
https://github.com/daledavies/jump.git
synced 2026-05-06 04:47:49 +02:00
Added Podman install instructions
This commit is contained in:
15
README.md
15
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 <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.
|
||||
|
||||
Reference in New Issue
Block a user