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 (desktop)
67d0a83039
|
5 years ago | |
---|---|---|
.devcontainer | 5 years ago | |
hooks | 5 years ago | |
readme | 7 years ago | |
.dockerignore | 5 years ago | |
Dockerfile | 5 years ago | |
README.md | 5 years ago | |
docker-compose.yml | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago | |
main.go | 5 years ago |
README.md
StackEdit Docker server
StackEdit v5.14.5 (January 2020) with a Golang HTTP server on Scratch
Image size | RAM usage | CPU usage |
---|---|---|
34.1MB | 7MB | Very low |
Features
- Stackedit features
- Lightweight image based on:
- Stackedit 5.14.5
- Scratch
- Golang simple HTTP static server
- Running without root
- Built-in Docker healthcheck
- Nice emojis in the logs...
Setup
-
CLICK IF YOU HAVE AN ARM DEVICE
You need to build the Docker image yourself using
git
anddocker
docker build -t qmcgaw/stackedit https://github.com/qdm12/stackedit-docker.git
-
Use the following command:
docker run -d -p 8000:8000/tcp qmcgaw/stackedit
You can also use docker-compose.yml with:
docker-compose up -d
-
Access at 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
- Travis CI build cross CPU arch