Repository navigation
Expand file tree
/
Copy pathreadme-vars.yml
More file actions
83 lines (82 loc) · 12.1 KB
/
Copy pathreadme-vars.yml
File metadata and controls
83 lines (82 loc) · 12.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
# project information
project_name: sealskin
project_url: "https://github.com/selkies-project/sealskin/"
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/sealskin-logo.png"
project_blurb: "[Sealskin]({{ project_url }}) is a self-hosted browser isolation and remote application streaming platform. It runs desktop applications in isolated containers on a server you control and streams them to any browser or phone. Clients include a browser extension, mobile apps, and a web app served by the server itself. Each turns links, files, downloads, and text selections into something you open remotely instead of locally, so nothing from the web runs on the device in front of you."
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
project_categories: "Remote Desktop, Business"
# supported architectures
available_architectures:
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# container parameters
param_container_name: "{{ project_name }}"
param_usage_include_vols: true
param_volumes:
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "All configuration files and metadata for the application."}
- {vol_path: "/storage", vol_host_path: "/path/to/{{ project_name }}/storage", desc: "All file storage for home directories and ephemeral mounts."}
- {vol_path: "/var/run/docker.sock", vol_host_path: "/var/run/docker.sock", desc: "Docker socket, required to spin up application containers."}
param_usage_include_ports: true
param_ports:
- {external_port: "8443", internal_port: "8443", port_desc: "HTTPS Sessions and API communication port."}
opt_param_usage_include_ports: true
opt_param_ports:
- {external_port: "8000", internal_port: "8000", port_desc: "HTTP fallback API port, only needed by the Chrome extension with a self-signed certificate."}
- {external_port: "8444", internal_port: "8444", port_desc: "Peer listener, only needed to join several servers into a cluster."}
opt_param_usage_include_env: true
opt_param_env_vars:
- {env_var: "HOST_URL", env_value: "IP or subdomain.domain.com", desc: "On initial setup this will be used to fill in the default admin configuration file in the `/config` directory, if unset the string HOST_URL will need to be replaced."}
# application setup block
app_setup_block_enabled: true
app_setup_block: "This image hosts the server component of the SealSkin platform: the API, the Caddy proxy, and the web app it serves. The full documentation lives at [selkies-project.github.io/sealskin](https://selkies-project.github.io/sealskin/).\n\n## Clients\n\n| Client | Where | Notes |\n| --- | --- | --- |\n| Chrome, Edge, Brave and other Chromium browsers | [Chrome Web Store](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk) | Full feature set, works with the self-signed certificate. |\n| Firefox | [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/sealskin-isolation/) | Requires a trusted certificate. |\n| iOS | [App Store](https://apps.apple.com/us/app/sealskin/id6758210210) | Requires a trusted certificate. |\n| Android | [Google Play](https://play.google.com/store/apps/details?id=io.linuxserver.sealskin) | Requires a trusted certificate. |\n| Any browser | `https://<server>:8443/` | The web app: launcher, sessions, files and dashboard with nothing installed. Requires a trusted certificate. |\n\n>[!NOTE]\n>If you are not using a trusted SSL certificate (the default is self signed in `/config/ssl`) then only the Chrome extension can be used, and whatever port is mapped to 8000 must also be reachable so it can fall back to E2EE over HTTP. Firefox, the mobile apps and the web app enforce HTTPS.\n\n## First run\n\nOn the first start with an empty `/config` the container generates a self-signed certificate for the proxy and the server's RSA key, then the server finds no administrator and writes two credentials for the built-in `admin` account:\n\n* `/config/root_key` is an application key for the **web app**. Open `https://<server>:8443/` and paste it in to sign in.\n* `/config/admin.json` is the key file for the **browser extension and mobile apps**. If `HOST_URL` was set it can be imported as is, otherwise edit it and replace the string `HOST_URL` with your server's IP or hostname.\n\n>[!NOTE]\n>Copy both files somewhere safe and delete them from the server. They are the only copy of that private key, the server keeps just the public half.\n\nOnce signed in you can install applications from the App Store, create users and groups, and make application keys for other devices from the dashboard.\n\nOn the web the root key is the only sign-in the server handles itself. Everyone else signs in through an identity provider (OpenID Connect or SAML) or a reverse proxy that signs users in, whose groups make administrators and carry limits. See [Signing in](https://selkies-project.github.io/sealskin/signin) before inviting a second person. Extension and mobile users can also be given key files from the Users panel.\n\n## Scripted installation\n\nIncluded in this repository is a helper script to spin up SealSkin with a trusted certificate using Duck DNS. Before using this script please navigate to [https://www.duckdns.org/](https://www.duckdns.org/), log in, make a sub domain, and get your token.\n\n```bash\nmkdir sealskin\ncd sealskin\nbash <(curl -sSL https://raw.githubusercontent.com/linuxserver/docker-sealskin/refs/heads/master/install.sh)\n```\n\nThis will set up pathing, ownership, the compose file, and a trusted wildcard SSL certificate for Duck DNS.\n\nYou can also renew your wildcard SSL certificate by running the same script again in the same directory.\n\n```bash\ncd sealskin\nbash <(curl -sSL https://raw.githubusercontent.com/linuxserver/docker-sealskin/refs/heads/master/install.sh)\n```\n\n## Basic Requirements\n\n* **The container must be named `sealskin`.** The server inspects its own container to learn the host paths behind `/config` and `/storage`, the externally mapped ports, and the Docker network. The name is also the server's identity in its own records, so a container recreated under another name is another node. If you cannot keep the name, set `hostname: sealskin` or `SEALSKIN_NODE_NAME`.\n* **The Docker socket is required.** Every session is a container the server starts through it. If launches fail with a permission error, make the socket group writable on the host with `sudo chmod g+rw /var/run/docker.sock`.\n* **`PUID` and `PGID` own everything.** The server, its files and every session container run as that user, so `/config` and `/storage` on the host must be writable by it.\n* **Ports.** 8443 carries the web app, the API and the streamed sessions. 8000 is only needed for the Chrome self-signed fallback. 8444 is the peer listener, only publish it to join several servers into a [cluster](https://selkies-project.github.io/sealskin/cluster).\n\nThe server can be exposed directly to the internet, its own Caddy instance terminates TLS and authenticates every request to a session. It can also run [behind a reverse proxy](https://selkies-project.github.io/sealskin/reverse-proxy) by setting `SEALSKIN_PUBLIC_URL` and `SEALSKIN_TRUSTED_PROXIES`, plus `SEALSKIN_HTTP_PORT` for a proxy that terminates TLS, with guides for SWAG, Traefik, Nginx Proxy Manager and Caddy. Every environment variable the server reads is listed in the [Settings Reference](https://selkies-project.github.io/sealskin/settings). The same image also runs on [Kubernetes](https://selkies-project.github.io/sealskin/kubernetes) from the upstream manifest, with sessions as pods.\n\n### NVIDIA Support\n\nNVIDIA support requires the proprietary driver 580 or newer (no MIT/GPL kernel modules) with the `nvidia-drm.modeset=1` kernel parameter set, and the NVIDIA Container Toolkit v1.20.1 or higher registered with Docker. The toolkit's refresh service creates the modeset device at boot so headless hosts need nothing more.\n\n## Key & Certificate Management\n\nThe server requires several cryptographic keys to function. You can either let the container perform an automatic setup on its first run or provide your own for more control.\n\n### Automatic First-Run Setup (Recommended)\n\nOn the first launch with an empty `/config` volume:\n\n1. An init process generates the mandatory server key (`ssl/server_key.pem`) and a self-signed SSL certificate for the proxy (`ssl/proxy_key.pem`, `ssl/proxy_cert.pem`).\n2. The server detects that no administrator exists, creates the default user `admin`, and writes `/config/admin.json` and `/config/root_key` as described above.\n\n### Manual Pre-Configuration (Advanced)\n\nPlace the files in the `/config` volume **before** the first launch.\n\n* **To use a custom Admin Key:**\n 1. Generate your own RSA keypair.\n 2. Create a file containing only your **public key** PEM data at `/path/to/config/.config/sealskin/keys/admins/admin`.\n 3. The server will detect this file and write no `admin.json`. You use your private key to log in from the extension, and `admin` signs in to the web app with the root key alone.\n\n* **To use a custom SSL Certificate:**\n * Place your certificate and private key at `/path/to/config/ssl/proxy_cert.pem` and `/path/to/config/ssl/proxy_key.pem`. This overrides the self-signed certificate and can be replaced later with a restart.\n\n* **To use a custom Server E2EE Key:**\n * Place your RSA private key at `/path/to/config/ssl/server_key.pem`. This is the core key for the API's end-to-end encryption and validates the server when a client is configured with its public key.\n * **Generation Command:** `openssl genpkey -algorithm RSA -out /path/to/config/ssl/server_key.pem -pkeyopt rsa_keygen_bits:4096`\n * **Extraction Command (public key for clients):** `openssl rsa -in server_key.pem -pubout`\n\n## Upgrading from 0.3\n\nNothing on disk needs changing, existing users, groups, installed apps, templates and sessions load as before and key files keep working. On the first start after the upgrade the server writes `/config/root_key` for the web app, sign in with it then copy and delete the file. Keep the container name `sealskin` or set `SEALSKIN_NODE_NAME` so the server keeps its identity. Collaboration rooms need application images with a Selkies release after 2.0.0, and NVIDIA hosts need the Container Toolkit v1.20.1 or higher.\n"
# init diagram
init_diagram: |
"sealskin:latest": {
docker-mods
base {
fix-attr +\nlegacy cont-init
}
docker-mods -> base
legacy-services
custom services
init-services -> legacy-services
init-services -> custom services
custom services -> legacy-services
legacy-services -> ci-service-check
init-migrations -> init-adduser
init-os-end -> init-config
init-config -> init-config-end
init-crontab-config -> init-config-end
init-sealskin -> init-config-end
init-config -> init-crontab-config
init-mods-end -> init-custom-files
init-adduser -> init-device-perms
base -> init-envfile
base -> init-migrations
init-config-end -> init-mods
init-mods-package-install -> init-mods-end
init-mods -> init-mods-package-install
init-adduser -> init-os-end
init-device-perms -> init-os-end
init-envfile -> init-os-end
init-config -> init-sealskin
init-custom-files -> init-services
init-services -> svc-cron
svc-cron -> legacy-services
init-services -> svc-sealskin
svc-sealskin -> legacy-services
}
Base Images: {
"baseimage-alpine:3.24"
}
"sealskin:latest" <- Base Images
# changelog
changelogs:
- {date: "20.10.26:", desc: "Update docs and installer for the 0.4.0 release: web app and root key sign in, reverse proxy support, cluster peer port."}
- {date: "05.09.26:", desc: "Install Sealskin from the upstream Python wheel, rebase to Alpine 3.24."}
- {date: "11.02.26:", desc: "Rebase to Alpine 3.23."}
- {date: "19.01.26:", desc: "Fix init race condition."}
- {date: "17.01.26:", desc: "Update docs to remove network and port requirement, add link to Firefox add on."}
- {date: "08.01.26:", desc: "Improve permission fixing."}
- {date: "31.10.25:", desc: "Initial Release."}