https://github.com/dougmet/docker-plumber
Minimum docker image to deploy a plumber app
https://github.com/dougmet/docker-plumber
Last synced: 5 months ago
JSON representation
Minimum docker image to deploy a plumber app
- Host: GitHub
- URL: https://github.com/dougmet/docker-plumber
- Owner: dougmet
- License: mit
- Created: 2017-02-28T10:26:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-19T17:29:20.000Z (over 6 years ago)
- Last Synced: 2024-08-03T22:19:10.461Z (8 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 14
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - dougmet/docker-plumber - Minimum docker image to deploy a plumber app (Dockerfile)
README
# docker-plumber
[]()
> Minimum docker image to deploy a plumber app
This image installs Jeff Allen's [plumber](https://github.com/trestletech/plumber) and its dependencies (including Suggests dependencies) sets up a non-root user to run the apps and will launch a default app on port 8000.
## Installation
Availble from Docker Hub:
```
docker pull dougmet/plumber
```## Usage
This image is really meant as a base image to build your apps from (example to follow). However, you can run the default app with:
```
docker run -d -p 8000:8000 dougmet/plumber
```Then go to http://localhost:8000/mean to see the get request. Alternatively do a POST request via curl.
```
curl --data "a=4&b=3" "http://localhost:8000/sum"
```See The plumber docs for full details: [http://plumber.trestletech.com/](http://plumber.trestletech.com/)