Files
Suwayomi-Server/suwayomi-server.container
achmad 06e93fd7bd
CI build / Validate Gradle Wrapper (push) Successful in 2m30s
CI build / jlink (linux-x64, ubuntu-latest) (push) Failing after 1m12s
CI build / Build Jar (push) Failing after 2m18s
CI build / jlink (macOS-arm64, macos-15) (push) Has been cancelled
CI build / jlink (macOS-x64, macos-15-intel) (push) Has been cancelled
CI build / jlink (windows-x64, windows-latest) (push) Has been cancelled
CI build / Make linux-assets release (push) Has been cancelled
CI build / Make appimage release (push) Has been cancelled
CI build / Make debian-all release (push) Has been cancelled
CI build / Make linux-x64 release (push) Has been cancelled
CI build / Make macOS-arm64 release (push) Has been cancelled
CI build / Make macOS-x64 release (push) Has been cancelled
CI build / Make windows-x64 release (push) Has been cancelled
CI build / release (push) Has been cancelled
chore: add Docker build config, scripts, and private registry setup
2026-05-10 11:45:24 +07:00

26 lines
1.1 KiB
INI

# Rootless quadlet files are placed in $HOME/.config/containers/systemd
[Container]
Environment=TZ=Etc/UTC # Use TZ database name from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Image=ghcr.io/suwayomi/suwayomi-server:preview
PublishPort=4567:4567
UserNS=keep-id
# Without UserNS=keep-id, the container's UID 1000 would map to a diffferent host UID which probably doesn't own the bind-mounted directory below
Volume=/path/to/downloads:/home/suwayomi/.local/share/Tachidesk/downloads:Z
# Podman will not create the directory automatically so make sure to create it beforehand
# On systems with SELinux, add the :Z flag otherwise SELinux will block the container from accessing the directory
Volume=suwayomi-data.volume:/home/suwayomi/.local/share/Tachidesk
# Named volumes should be defined in a .volume quadlet otherwise Podman will assign the root of the volume to container UID 0
# $ cat $HOME/.config/containers/systemd/suwayomi-data.volume
# [Volume]
# VolumeName=suwayomi-data
[Install]
WantedBy=default.target
# Sets Suwayomi to start on boot
[Service]
Restart=on-failure