DockerStartpage
DockerStartpage copied to clipboard
Automatic Docker Startpage for hub.pilgrim.me.uk
Docker Startpage
Server Startpage designed for hub.pilgrim.me.uk with automatic docker api based link generation
Docker Setup
The image can be built with the command:
docker build [email protected]:TGNThump/DockerStartpage.git -t tgnthump/startpage
The environment variable DOCKER_PATH
must be set to the location of the http docker api.
Containers running will automatically get added to the listing provided they do not have the startpage.hidden=true
label. Their urls will be set based upon the traefik.frontend.rule
label, as configured with the Host paramater.
Development Setup
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate