Skip to content

tekwrks/solid-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Solid Server

Build Status

Dockerized solid-server

Certificate

Solid server needs a ssl certificate to run.

You can use let's encrypt, or run make generate-cert to generate one using openssl (this is for development only).

You can use a custom certificate by binding cert.pem and key.pem to /solid/key.pem and /solid/cert.pem respectively.

Make sure that docker can bind these files.

Running it

This repo is linked with docker hub and automatically built, you can pull the image by running:

docker pull tekwrks/solid-server

After that you can run it using

docker container run \
  -d \
  -p 8443:8443 \
  --mount type=bind,source=$$(pwd)/key.pem,target=/solid/key.pem,readonly \
  --mount type=bind,source=$$(pwd)/cert.pem,target=/solid/cert.pem,readonly \
  -t tekwrks/solid-server:latest

Solid uses port 8443 by default. Access it at https://localhost:8443

Make sure you have created the ssl certificate, since solid-server needs an https connection to work.

Building it yourself

Clone this repo

git clone https://github.com/tekwrks/solid-server

Build the docker image and run it

make && make run

(inspect the makefile for exact commands used for building)

Configuration

Default config is included in the image. (config.json)

You can use custom config by mounting it to /solid/config.json.