Sign inSign up

bbaerthlein/portainer-templates-server

By bbaerthlein

•Updated over 5 years ago

Image
0

2.5K

bbaerthlein/portainer-templates-server repository overview

⁠Tiny Portainer templates.json file server

Travis build status Docker build status Docker build automated

GitHub release (latest by date) Go version License

This docker service simply serves just one file, a templates.json file. This service is thought be run behind a secure reverse proxy.

⁠Usage

You can access the templates.json file via http. The accessable file name is always "templates.json".

http://localhost:8080/templates.json
⁠Flags
-f string
      path to templates.json file (default "templates.json")
-p string
      port to serve on (default "8080")
⁠Docker image

Pull repository

docker pull bbaerthlein/portainer-templates-server

Run container:

docker run -p 8080:8080 bbaerthlein/portainer-templates-server
⁠Binary

Download and extract the binary for your os and architecture from the release page⁠.

Start the binary: (example for linux)

./portainer-templates-server_linux_x64 -f myfolder/templates.json

⁠Mount template (docker)

If you want to mount a templates.json file:

-v /your/local/path/file.json:/templates.json

⁠Docker hub

https://hub.docker.com/r/bbaerthlein/portainer-templates-server⁠

Tag summary

Content type

Image

Digest

Size

1.8 MB

Last updated

over 5 years ago

docker pull bbaerthlein/portainer-templates-server