Add Slink
This commit is contained in:
1 parent
ed7dec5937
commit
9bb4f17d30
4 files changed
+74
No files matched your search
@@ -0,0 +1,15 @@
|
||||
## First login
|
||||
|
||||
Sign in with the username **admin** and the **Admin password** from the app's Overview tab. The admin's email address starts out as a placeholder, `[email protected]`; change it to your own under your profile if you like.
|
||||
|
||||
## Sharing images
|
||||
|
||||
Drag images onto the upload page, then copy the link Slink gives you. From an image's page you can shorten the link, add a password, or make it public so it shows on the explore page. Group images into a collection to share them all with one link.
|
||||
|
||||
## Accounts
|
||||
|
||||
Sign-ups are off at first. Turn on **Allow anyone to sign up** on the app's Overview tab to let people register; each new account still waits for you to approve it in the admin area. Outbound mail ports are blocked on Cottage, so Slink can't email anyone, and password resets go through you.
|
||||
|
||||
## Export your data
|
||||
|
||||
Each image can be downloaded from its page in its original form. Cottage also keeps nightly backups of the whole app, images included.
|
||||
@@ -0,0 +1,14 @@
|
||||
name: Slink
|
||||
tagline: Share images with a link, from a host that's yours.
|
||||
category: Media
|
||||
description: >-
|
||||
Upload screenshots and photos and get a short link to share, with optional
|
||||
passwords, collections, comments and an explore page for public images.
|
||||
Slink can compress and convert uploads, and you decide who may sign up.
|
||||
upstream: https://github.com/andrii-kryvoviaz/slink/tree/v1.14.6
|
||||
website: https://docs.slinkapp.io
|
||||
license: AGPL-3.0-only
|
||||
images:
|
||||
- ref: anirdev/slink:v1.14.6
|
||||
digest: sha256:7f7cab180971caeb83ce8818a676be04a7923dff6bf6e201ae0a9ce4f64be593
|
||||
mobile_apps: false
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#5B3FA8"/><path d="M28 36a8 8 0 0 0 11 1l7-7a8 8 0 0 0-11-11l-3 3" fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round"/><path d="M36 28a8 8 0 0 0-11-1l-7 7a8 8 0 0 0 11 11l3-3" fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 368 B |
@@ -0,0 +1,44 @@
|
||||
# Slink: a self-hosted image sharing service.
|
||||
x-harbor:
|
||||
slug: slink
|
||||
name: Slink
|
||||
description: Self-hosted image sharing platform.
|
||||
version: "1.14.6-c1"
|
||||
primary: { service: app, port: 3000 }
|
||||
health_path: /api/health
|
||||
default_resources: { cpu_millis: 500, memory_mb: 768, storage_mb: 20480 }
|
||||
min_resources: { cpu_millis: 250, memory_mb: 512, storage_mb: 2048 }
|
||||
volumes:
|
||||
data: { uid: 1000, gid: 1000, mode: "0770" }
|
||||
images: { uid: 1000, gid: 1000, mode: "0770" }
|
||||
cache: { uid: 1000, gid: 1000, mode: "0770" }
|
||||
parameters:
|
||||
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random16 }
|
||||
- { key: USER_ALLOW_REGISTRATION, label: Allow anyone to sign up, type: bool, default: "false", editable: true }
|
||||
|
||||
services:
|
||||
app:
|
||||
image: anirdev/slink:v1.14.6
|
||||
# The image's own slink user. Its start-up scripts skip the privilege
|
||||
# drop and ownership fix when they're already running as this user.
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
ORIGIN: ${HARBOR_PUBLIC_URL}
|
||||
ADMIN_USERNAME: admin
|
||||
# Slink needs an email for the admin; this reserved address is only a
|
||||
# placeholder (mail is off) and can be changed in the profile.
|
||||
ADMIN_EMAIL: [email protected]
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
||||
USER_ALLOW_REGISTRATION: ${USER_ALLOW_REGISTRATION}
|
||||
USER_APPROVAL_REQUIRED: "true"
|
||||
USER_ALLOW_UNAUTHENTICATED_ACCESS: "true"
|
||||
IMAGE_ALLOW_GUEST_UPLOADS: "false"
|
||||
volumes:
|
||||
- "data:/app/var/data"
|
||||
- "images:/app/slink/images"
|
||||
- "cache:/app/slink/cache"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
images:
|
||||
cache:
|
||||
Reference in new issue
Block a user