diff --git a/apps/gonic/README.md b/apps/gonic/README.md new file mode 100644 index 0000000..d2bd7f1 --- /dev/null +++ b/apps/gonic/README.md @@ -0,0 +1,21 @@ +## First login + +gonic always starts with one account, **admin**, whose password is **admin**. Until you've changed it, only you can open the app. + +1. Open the app from your Cottage dashboard and sign in as admin with the password admin. +2. Under **user management**, choose **password** next to admin and pick a strong one. +3. Choose **Done** on the app's page so anyone you share the address with can reach it. + +Add accounts for other listeners in the same section with **create new**. + +## Music and podcasts + +gonic serves what's in its music folder, organised as artist and album folders, and picks up new files on its own. It has no upload button. Podcasts are easier: under **podcasts**, paste a feed address and gonic downloads new episodes for you. + +## Apps + +gonic has a settings page but no player of its own. Use any Subsonic-compatible app, such as Symfonium, Substreamer, Tempo or Feishin, with your app's full address, starting with `https://`, and your gonic username and password. + +## Export your data + +Playlists are kept as M3U files, and your music stays exactly as you added it. Cottage also keeps nightly backups of the whole app. diff --git a/apps/gonic/cottage.yml b/apps/gonic/cottage.yml new file mode 100644 index 0000000..2bcff33 --- /dev/null +++ b/apps/gonic/cottage.yml @@ -0,0 +1,17 @@ +name: gonic +tagline: A small, quick music server for any Subsonic app. +category: Media +description: >- + gonic scans your music by its folders and tags and serves it to Subsonic + apps on your phone and desktop. It also fetches podcasts, keeps playlists, + transcodes on the fly and can scrobble to Last.fm and ListenBrainz. +upstream: https://github.com/sentriz/gonic +website: https://github.com/sentriz/gonic +license: GPL-3.0-only +images: + - ref: sentriz/gonic:v0.23.0 + digest: sha256:7b2298d905149ecb7e57cdd3bf7a40082758b9bda2e24454b41c17c99bf25e8f +mobile_apps: true +# gonic always starts with the account admin/admin. Keeping the app private +# until setup is done gives the owner time to change that password first. +first_visit_claims_admin: true diff --git a/apps/gonic/icon.svg b/apps/gonic/icon.svg new file mode 100644 index 0000000..c527651 --- /dev/null +++ b/apps/gonic/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/gonic/template.yml b/apps/gonic/template.yml new file mode 100644 index 0000000..e147902 --- /dev/null +++ b/apps/gonic/template.yml @@ -0,0 +1,43 @@ +# gonic: a lightweight Subsonic-compatible music and podcast server. +x-harbor: + slug: gonic + name: gonic + description: Lightweight Subsonic music server. + version: "0.23.0-c1" + primary: { service: app, port: 4747 } + health_path: /ping + default_resources: { cpu_millis: 500, memory_mb: 256, storage_mb: 20480 } + min_resources: { cpu_millis: 250, memory_mb: 128, storage_mb: 2048 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + music: { uid: 1000, gid: 1000, mode: "0750" } + podcasts: { uid: 1000, gid: 1000, mode: "0750" } + playlists: { uid: 1000, gid: 1000, mode: "0750" } + cache: { uid: 1000, gid: 1000, mode: "0750" } + +services: + app: + image: sentriz/gonic:v0.23.0 + user: "1000:1000" + environment: + GONIC_LISTEN_ADDR: ":4747" + GONIC_DB_PATH: /data/gonic.db + GONIC_MUSIC_PATH: /music + GONIC_PODCAST_PATH: /podcasts + GONIC_PLAYLISTS_PATH: /playlists + GONIC_CACHE_PATH: /cache + GONIC_SCAN_AT_START_ENABLED: "true" + GONIC_SCAN_WATCHER_ENABLED: "true" + volumes: + - "data:/data" + - "music:/music" + - "podcasts:/podcasts" + - "playlists:/playlists" + - "cache:/cache" + +volumes: + data: + music: + podcasts: + playlists: + cache: