Sign inSign up

wunderio/silta-node

By wunderio

•Updated 6 days ago

Image
0

50K+

wunderio/silta-node repository overview

⁠Image builds have been moved to https://github.com/wunderio/silta-images⁠


⁠Silta-node

A base Docker image to run javascript applications on Silta.

⁠OpenSSH server addon

This container comes bundled with OpenSSH server that will authorize users based on their SSH private key. The key whitelist is provided by SSH public keys for silta⁠ project.

Fingerprint keys are moved to a dedicated folder, /etc/ssh/keys, that can be mounted to a persistent storage.

⁠Configuration

Provide following environment variables for the container:

  • GITAUTH_URL: Endpoint providing ssh key list. f.ex. https://example.com/api/1/git-ssh-keys⁠
  • GITAUTH_SCOPE: Scope you want to use for authorisation. f.ex. https://github.com/organisation or [email protected]:organisation/reponame.git for getting public keys of all reponame repository collaborators.
  • GITAUTH_USERNAME: Key server credentials
  • GITAUTH_PASSWORD: Key server credentials
  • OUTSIDE_COLLABORATORS: Include outside collaborators f.ex. "true".

⁠Running

Build and run the docker image:

docker image build -t node-server .
docker run -p 2222:22 --env-file ./env.list -d node-server

Connect to ssh server

ssh www-admin@localhost -p 2222

Tag summary

Content type

Image

Digest

sha256:82e84a6c2…

Size

63.4 MB

Last updated

5 months ago

docker pull wunderio/silta-node