Skip to content

ssx/nginx-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

nginx-proxy

This repository presents a simple docker-compose to use to provide access to web apps with docker.

Installation instructions

  1. Install docker
  2. Clone this repository: https://github.com/swisscat/nginx-proxy.git
  3. Create the default network: docker network create nginx-proxy
  4. Go to the cloned repository, execute docker-compose up -d

Adding a new application

To expose a new application to the web, open the corresponding docker-compose.yml and

  • Ensure the ports in the container are exposed (but not binded)
  • Append to the container you wish to expose:
    environment:
      VIRTUAL_HOST: my-app.my.domain
      LETSENCRYPT_HOST: my-app.my.domain
      LETSENCRYPT_EMAIL: my-emailaddress.com
  • Append as well
networks:
    default:
        external:
            name: nginx-proxy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published