[]() []() []() []()
[!CAUTION]
I'm still working on the Windows and macOS version. They're not ready yet.
# Run in GUI mode
$ resticity
# Run in background mode (useful for autostart)
$ resticity --background
# Run with custom configuration path
$ resticity --config /path/to/config.json
[!NOTE]
Make sure to set the hostname for the container since it gets changed after each restart.
# Run within Docker
# Add the paths that you want resticity to grant access to
$ docker run -d --name resticity -h myHostnameChangeMe -p 11278:11278 -v /path/to/config.json:/config.json -v /mnt:/mnt -v /home:/home ghcr.io/ad-on-is/resticity
version: "3"
services:
reseticity:
image: ghcr.io/ad-on-is/resticity
container_name: resticity
hostname: myHostnameChangeMe
ports:
- 11278:11278
volumes:
- /mnt:/mnt # Add the paths that you want resticity to grant access to
- /home:/home
- /path/to/config.json:/config.json # changeMe
Resticity looks for a configuration file in the following order:
--config path/to/config.json
flagRESTICITY_SETTINGS_FILE
environment variable$XDG_CONFIG_HOME/resticity/config.json
Set RESTICITY_LOG_LEVEL=debug
as environment variable for detailed debug messages (and log files).
[!WARNING]
This produces larger log files, so it is advised not to run it in production.
# Arch Linux
paru -S resticity
# Clone this repo
$ git clone https://github.com/ad-on-is/resticity
# Install wails
$ go install github.com/wailsapp/wails/v2/cmd/wails@latest
# cd into resticity
$ cd resticity
# Run as dev
$ ./build.sh dev
# Build desktop
$ ./build.sh desktop
# run
$ ./build/bin/resticity
adisdurakovic.com · GitHub @ad-on-is