Coder Social home page Coder Social logo

restic-rest-server's Introduction

Contributors Forks Stargazers Issues


Logo

restic-rest-server

Docker setup for restic-rest-server

· Report Bug · Request Feature

About The Project

Small docker setup for restic-rest-server. The production environment also uses jwilder/nginx-proxy and nginx-proxy/docker-letsencrypt-nginx-proxy-companion.

Getting Started Develop

To get a local copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/beuluis/restic-rest-server.git
  1. Start docker-compose
docker-compose up --build

Customization

  1. Create a .env file
touch .env
  1. Overwrite variables as you like (format: {variable name}={variable value})
Variable Description Default value Required
RESTIC_REST_SERVER_FLAGS Flags see Restic Rest Server Docs --private-repos false
PORT Which port is mapped to your host machine 8001 false

Getting Started Production

To get a copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/beuluis/restic-rest-server.git --branch master
  1. Generate a htpasswd string e.g. on htpasswd generator. Use SHA-1 as algorithm
  2. Create a .htpasswdfile and fill it with your string
echo "<your string>" > .htpasswd
  1. Create a .env.prod file
touch .env.prod
  1. Overwrite all variables marked under Customization as required
  2. Start docker-compose
docker-compose --env-file ./.env.prod -f docker-compose.yml -f docker-compose.production.yml up -d

Customization

  1. Create a .env.prod file
touch .env.prod
  1. Overwrite variables as you like (format: {variable name}={variable value})
Variable Description Default value Required
PROXY_NETWORK_NAME Proxy network name nginxproxynet false
RESTIC_REST_SERVER_FLAGS Flags see Restic Rest Server Docs --private-repos false
HOST Host which your container should be accessible. E.g. test.com none true

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Luis Beu - [email protected]

restic-rest-server's People

Contributors

beuluis avatar

Watchers

 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.