Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx support #1

Open
murilobd opened this issue Aug 28, 2020 · 1 comment
Open

nginx support #1

murilobd opened this issue Aug 28, 2020 · 1 comment

Comments

@murilobd
Copy link

Hi!
Thanks for this repo and article! Really good!!
Could you also add nginx to docker-compose and show us how it would looks like?

Thanks!

@traderpedroso
Copy link

Hi!
Thanks for this repo and article! Really good!!
Could you also add nginx to docker-compose and show us how it would looks like?

Thanks!

best way to use Nginx on docker is using Nginx Proxy Manager is a open source and have docker-compose ready
repo https://github.com/jc21/nginx-proxy-manager

version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    environment:
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  db:
    image: 'jc21/mariadb-aria:latest'
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants