Code Monkey home page Code Monkey logo

container-hosting's Introduction

This repo automatically creates a new repository with the following features in your Github account:

  • auto release versions
  • code analytics
  • issues template
  • repository secrets creation
  • dokku pr-previews and deployment workflows
  • deletion of the dokku pr-previews after merge.

Run locally

python3 -m venv venv
. venv/bin/activate
cp .env.example .env
pip install -r requirements.txt -U
./run.sh

Change the .env file with the correct settings.

First register a new Oauth application to get the following 3 variable values: GITHUB_OAUTH_CLIENT_ID, GITHUB_OAUTH_CLIENT_SECRET, GITHUB_OAUTH_REDIRECT_URI

https://github.com/settings/applications/new

If you are running dokku on a remote server remember to put your public key into the server's authorized_keys file.

Adding ssh keys to dokku server(s)

Read https://dokku.com/docs/deployment/user-management/#:~:text=format%20json%20admin-,Adding%20SSH%20keys,-You%20can%20add

Notes

  • virtualhost routing is required (eg. my-app => my-app.dokku.me), set a global domain for your server: dokku domains:set-global dokku.me
  • Dokku provides an integration with Caddy proxy which is installed if docker-compose-plugin is installed. For this case, we will need to remove Caddy proxy since it uses port 80 and cause port conflicts with nginx To remove Caddy simple run dokku caddy:stop

container-hosting's People

Contributors

chrisjsimpson avatar joeltejeda 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.