Docker version of html editor - StackEdit
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 d9740c4213
Updated readme with ARM build instructions
5 years ago
hooks Replaced Travis with Docker Hub build 5 years ago
readme Initial commit (working) 7 years ago
.dockerignore Small fixes 5 years ago
Dockerfile Restructured Dockerfile 5 years ago
README.md Updated readme with ARM build instructions 5 years ago
docker-compose.yml Significant update 6 years ago
go.mod Significant update 6 years ago
go.sum Significant update 6 years ago
main.go Small fixes 5 years ago

README.md

StackEdit Docker server

StackEdit v5.13.3 (November 2018) with a Golang HTTP server on Scratch

Docker StackEdit

Docker Build Status

GitHub last commit GitHub commit activity GitHub issues

Docker Pulls Docker Stars Docker Automated

Image size Image version

Donate PayPal

Image size RAM usage CPU usage
29.3MB 7MB Very low

Features

Setup

  1. CLICK IF YOU HAVE AN ARM DEVICE

    • If you have a ARM 32 bit v6 architecture

      docker build -t qmcgaw/REPONAME_DOCKER \
      --build-arg BASE_IMAGE_BUILDER_GO=arm32v6/golang \
      --build-arg BASE_IMAGE_BUILDER_NODE=arm32v6/alpine \
      --build-arg GOARCH=arm \
      --build-arg GOARM=6 \
      https://github.com/qdm12/stackedit-docker.git
      
    • If you have a ARM 32 bit v7 architecture

      docker build -t qmcgaw/REPONAME_DOCKER \
      --build-arg BASE_IMAGE_BUILDER_GO=arm32v7/golang \
      --build-arg BASE_IMAGE_BUILDER_NODE=arm32v7/alpine \
      --build-arg GOARCH=arm \
      --build-arg GOARM=7 \
      https://github.com/qdm12/stackedit-docker.git
      
    • If you have a ARM 64 bit v8 architecture

      docker build -t qmcgaw/REPONAME_DOCKER \
      --build-arg BASE_IMAGE_BUILDER_GO=arm64v8/golang \
      --build-arg BASE_IMAGE_BUILDER_NODE=arm64v8/alpine \
      --build-arg GOARCH=arm64 \
      https://github.com/qdm12/stackedit-docker.git
      

  2. 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
    
  3. 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