1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/shadowbox
2022-02-22 15:49:36 +08:00
..
data/state add shadowbox 2022-02-22 15:49:36 +08:00
docker-compose.yml add shadowbox 2022-02-22 15:49:36 +08:00
README.md add shadowbox 2022-02-22 15:49:36 +08:00

shadowbox

up and running

$ mkdir -p data/{certs,state}
$ cd data/certs/
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -subj '/CN=localhost' -keyout easypi.key -out easypi.crt
$ openssl x509 -in easypi.crt -noout -sha256 -fingerprint | cut -d= -f2 | tr -d :
$ docker-compose up -d
$ curl -s -k https://127.0.0.1:8081/easypi/access-keys

remote management

$ ssh -N -L 8081:localhost:8081 remote-server
$ open -a 'Outline Manager'

API: https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/shadowbox/server/api.yml