GithubHelp home page GithubHelp logo

vilisbb / paimon-docker-compose Goto Github PK

View Code? Open in Web Editor NEW

This project forked from giuliomartinelli/paimon-docker-compose

0.0 0.0 0.0 6 KB

:camel: docker-compose nodejs, nginx, mysql e mongodb

JavaScript 100.00%

paimon-docker-compose's Introduction

Paimon docker-compose

docker-compose node.js, nginx, mysql, mongodb.

Um docker-conposer configurado e pronto para uso no seu desenvolvimento local node | nginx | mysql | mongodb.

Como usar

OS X & Linux:

docker-compose --env-file ./docker/.env.docker.local up

Windows:

docker-compose --env-file ./docker/.env.docker.local up

Como configurar

configure o caminho do projeto node.js ./docker/.env.docker.local

NODEJS_VOLUMES_FILES=/home/user/my_project_nodejs

SSL

configure o caminho de onde se encontra o certificado ./docker/.env.docker.local

NGINX_VOLUMES_NGINX_SSL_CERTS=/home/user/my_certs

Retire os comentarios ./docker-compose.yml

- "${NGINX_SSL_PORT}:443"
- "${NGINX_VOLUMES_NGINX_SSL_CERTS}:/etc/nginx/certs"

Retire os comentarios ./docker/nginx/nginx.conf

    server {
        listen       443 ssl;
        server_name  localhost;

        ssl_certificate /etc/nginx/certs/localhost.crt;
        ssl_certificate_key /etc/nginx/certs/localhost.key;

        location / {
            proxy_pass http://nodejs;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
    }

Histórico

  • 0.0.2
    • correção portas e configuração correta expose das portas.
    • suporte SSL nginx.
  • 0.0.1
    • Inicio projeto.

Meta

Giulio Martinelli – @Linkedin

https://github.com/giuliomartinelli

paimon-docker-compose's People

Contributors

giuliomartinelli 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.