You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
me a6ca2cb170 Update 'README.md' 1 month ago
.drone.yml Update '.drone.yml' 1 month ago
Dockerfile Update 'Dockerfile' 5 months ago
README.md Update 'README.md' 1 month ago

README.md

cloud-cmd Build Status

Podman container for cloud-cmd https://cloudcmd.io/

Run container with podman

podman run -d --rm \
  --name=cloud-cmd \
  -p 127.0.0.1:8000:8000 \
  -v /path/to/data:/data \
  -v /path/to/config:/root \
  reg.fredhs.net/r/cloud-cmd:latest

You can set up a systemd.service like this:

[Unit]
Description=Cloud-cmd Podman container
Wants=network.target data-program.mount data-movie.mount data-tvshow.mount

[Service]
Type=simple
User=root
Group=root
TimeoutStartSec=5m
ExecStartPre=-/usr/bin/podman rm "cloud-cmd"

ExecStart=/usr/bin/podman run --name cloud-cmd -v /path/to/config:/root -v /path/to/data:/data -p 127.0.0.1:8000:8000 --pull=always reg.fredhs.net/r/cloud-cmd:latest

ExecReload=-/usr/bin/podman stop "cloud-cmd"
ExecReload=-/usr/bin/podman rm "cloud-cmd"
ExecStop=/usr/bin/podman stop "cloud-cmd"
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target