GithubHelp home page GithubHelp logo

karx1 / simplecdn Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.15 MB

A simple CDN service for your website

Dockerfile 5.75% Python 51.65% CSS 5.80% HTML 30.94% Rust 5.86%
docker cdn-service python hacktoberfest

simplecdn's Introduction

SimpleCDN

A simple CDN service for your website.

Quick Start

Use this command to get SimpleCDN up and running in Docker:

docker run -td \ 
    --restart unless-stopped \
    -p 8080:8080 \
    -v FILES_DIR:/data \
    --name cdn \
    karx/simplecdn:latest

Change the above example as needed.

Running in Docker

This container uses a popular port used commonly for webservers, 8080. This means that this may conflict with existing applications.

However, if you keep it at the default 8080, you will not be able to access the application through a web browser without specifying the port number. If this is not what you want, use a reverse proxy service like Træfik or Nginx.

Docker Arguments Description
-p <Host Port>:<Container Port> Required Map an outside port to the containter. The Container Port should always be 8080, otherwise you will not be able to access SimpleCDN,
--restart unless-stopped Recommended Automatically (re)start SimpleCDN at boot or in the case of a crash.
-v <File Directory>:/data Required Allows SimpleCDN to write authentication data and files to the host disc. Omitting this option will lead to data loss.
--name cdn Optional Explicitly sets the name of the container.

If you use a Host Port other than 80, you will have to specify the port number you chose in the browser address bar, or forward requests to it using a reverse proxy like Træfik or Nginx.

User Feedback

Please report issues on the Github Issue Tracker. If you see an issue in the codebase or any of the documentation that you would like to fix, feel free to make a Pull Request.

simplecdn's People

Contributors

karx1 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.