Skip to content

DavidIlie/sharex-docker-upload-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker ShareX Custom Upload Server

This is a really basic ShareX custom upload server which can be installed on Docker or Kubernetes. It can only upload images.

You can build the docker image if you want or use the published docker image if you don't want to modify anything.

docker pull ghcr.io/davidilie/sharex-docker-upload-server:latest

Building the Docker Image

docker build -t *registry/name* .

ENV and Paths

env variables:

  • SECRET_KEY - a key which will be used to protect your sharex server from being used by others
  • DOMAIN_URL - the domain in which the server will run on

paths:

  • /var/www/html/img - where the images are uploaded to

Deployment

You can deploy this on Docker or Kubernetes:

Docker

sudo docker run -dit --name sharex-upload-server -p 8080:80 *imagename* -v *hostpath*:/var/www/html/img

Kubnernetes

You can create the deployment yourself or use an orchestrator like Rancher or Portainer.

Connecting it to ShareX

In ShareX, go to Destinations and to Custom Uploader Settings

Create something similar this but ensure that these match your information

About

Basic ShareX custom upload server which can be deployed on Docker or Kubernetes

Topics

Resources

Stars

Watchers

Forks

Packages