Giter Site home page Giter Site logo

docker-ssl-webs's Introduction

docker-ssl-webs

Simple way to deploy ssl websites.

Dependencies

Install:

Previous settings

  • There are 2 folders with examples. Each one has a ".env" file, you need to modificate this with your website data:

  • CONTAINER_NAME=< your-domain >

  • VIRTUAL_HOST=< your-domain >.com, www.< your-domain >.com

  • VIRTUAL_PORT=< your-custom-port > (OPTIONAL*)

  • LETSENCRYPT_HOST=< your-domain >.com, www.< your-domain >.com

  • LETSENCRYPT_EMAIL=< your-email >@example.com (OPTIONAL**)

*If you don't set, delete. If your web use other port than 80, set it. And add in docker-compose.yml the follow: EXPOSE: - < your-custom-port >

**If you don't set, delete.

Run 1st WEB

1- First you need to create a network proxy:

$ sudo docker network create nginx-proxy

2- Then, run docker-compose.yml located on the root of the repository:

$ sudo docker-compose up -d --build

3- Finally, located in the web-0X folder, run:

$ sudo docker-compose up -d --build

At this point, you have deployed your first website on the server with Docker. Now, you just need to repeat the 3rd step to start more webs.

docker-ssl-webs's People

Contributors

christian-quisbert avatar

Watchers

 avatar

docker-ssl-webs's Issues

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.