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 (desktop) 1c88c9cfb5
Maint: rework Dockerfile
3 years ago
.devcontainer Maint: upgrade devcontainer settings 3 years ago
.github Doc: remove microbadger 3 years ago
.dockerignore Small fixes 5 years ago
.golangci.yml Run golangci-lint in Docker build 4 years ago
Dockerfile Maint: rework Dockerfile 3 years ago
LICENSE MIT License 4 years ago
README.md Doc: remove microbadger 3 years ago
docker-compose.yml Added env variables, fixes #1 4 years ago
go.mod Update Go dependencies and code 4 years ago
go.sum Update Go dependencies and code 4 years ago
main.go Update Go dependencies and code 4 years ago
title.png Title png moved to root 4 years ago

README.md

StackEdit Docker server

StackEdit v5.14.5 (January 2020) with a Golang HTTP server on Scratch

Docker StackEdit

Build status Docker Pulls Docker Stars

GitHub last commit GitHub commit activity GitHub issues Donate PayPal

Features

  • Stackedit features
  • Lightweight image based on:
  • Running without root
  • Cross cpu architecture compatible: amd64, 386, arm64v8, arm32v7 and arm32v6 (ask for more)
  • Small 36.8MB image size (amd64, uncompressed)
  • Built-in Docker healthcheck
  • Nice emojis in the logs...

Setup

  1. 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
    
  2. Access at http://localhost:8000

Environment variables

Environment variable Default Description
LISTENING_PORT 8000 Internal server listening port
ROOT_URL / Root URL to use, useful when used with a reverse proxy
NODE_ENV production Sets production behavior for stackedit
PANDOC_PATH pandoc Non functional yet
WKHTMLTOPDF_PATH wkhtmltopdf Non functional yet
USER_BUCKET_NAME stackedit-users ?
PAYPAL_RECEIVER_EMAIL Receive Paypal donation email address
DROPBOX_APP_KEY
DROPBOX_APP_KEY_FULL
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
GOOGLE_CLIENT_ID
GOOGLE_API_KEY
WORDPRESS_CLIENT_ID

Acknowledgements

Credits to the developers of StackEdit

TODOs

  • Add static binary programs
    • pandoc
    • wkhtmltopdf
  • Travis CI build cross CPU arch