You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Quentin McGaw
5aae6ff56a
|
6 years ago | |
---|---|---|
hooks | 6 years ago | |
readme | 7 years ago | |
.dockerignore | 7 years ago | |
.travis.yml | 7 years ago | |
Dockerfile | 6 years ago | |
README.md | 6 years ago | |
docker-compose.yml | 6 years ago | |
go.mod | 6 years ago | |
go.sum | 6 years ago | |
main.go | 6 years ago |
README.md
StackEdit Docker server
StackEdit v5.13.2 (November 2018) with a Golang HTTP server on Scratch
Image size | RAM usage | CPU usage |
---|---|---|
29.3MB | 7MB | Very low |
Features
- Stackedit features
- Lightweight image based on:
- Stackedit 5.13.2
- Scratch
- Golang simple HTTP static server
- Running without root
- Built-in Docker healthcheck
- Nice emojis in the logs...
Setup
Run with:
docker run -d -p 8000:8000/tcp qmcgaw/stackedit
Compose with:
version: '3'
services:
stackedit:
image: qmcgaw/stackedit
container_name: stackedit
ports:
- 8000:8000/tcp
network_mode: bridge
and docker-compose up -d
Build with:
docker build -t qmcgaw/stackedit https://github.com/qdm12/stackedit-docker.git
Access with http://localhost:8000
Environment variables
LISTENINGPORT
to change the internal HTTP server listening port if you need to
Acknowledgements
Credits to the developers of StackEdit
TODOs
- Configuration of Stackedit with env variables