-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change network name from
nginx-proxy
to proxy
- Loading branch information
Showing
8 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,10 @@ Configure the `*.env.example` files and rename to `*.env` files | |
|
||
**Note:** Not all `docker-compose.yml` files read from `*.env `files (**TODO**) | ||
|
||
## Set up domains pointing to platforms using Nginx-proxy | ||
Create `nginx-proxy` network to containers to be exposed via port `80`/`443` | ||
## Set up domains pointing to platforms using Nginx-Proxy | ||
Create `proxy` network to containers to be exposed via port `80`/`443` | ||
``` | ||
docker network create nginx-proxy | ||
docker network create proxy | ||
``` | ||
|
||
Run `docker-compose up -d` from the `nginx-proxy` folder and ensure that ports `80` and `443` are bindable. | ||
|
@@ -22,7 +22,7 @@ docker-compose -f # To see added services and HTTP requests log | |
Point domains to your instances and generate SSL certificates with LetsEncrypt by | ||
- Setting env `VIRTUAL_HOST` and `LETSENCRYPT_HOST` to "subdomain.example.com" or "example.com" | ||
- Setting env `VIRTUAL_PORT` to the exposed port for your app service in the `docker-compose.yml` files | ||
- Setting env `DEFAULT_EMAIL` in the `nging-proxy/nginx-proxy-letsencrypt` service for your support account | ||
- Setting env `DEFAULT_EMAIL` in the `nginx-proxy/nginx-proxy-letsencrypt` service for your support account | ||
|
||
**Credit** | ||
- https://github.com/nginx-proxy/nginx-proxy (MIT) | ||
|
@@ -54,8 +54,8 @@ docker-compose run --rm directus install --email [email protected] --password d1 | |
# Contributing | ||
Create a pull request after checking that your setup is ready to go with Docker Compose and nginx-proxy | ||
1. Server services should contain the environment variables `VIRTUAL_HOST`, `VIRTUAL_PORT` and `LETSENCRYPT_HOST` | ||
2. Server services in `docker-compose.yml` should belong to `default` and `nginx-proxy` if they have other services | ||
3. Other services like databases in `docker-compose.yml` shouldn't be on the network `nginx-proxy` | ||
2. Server services in `docker-compose.yml` should belong to `default` and `proxy` if they have other services | ||
3. Other services like databases in `docker-compose.yml` shouldn't be on the network `proxy` | ||
4. Avoid sharing .env files between services; use `postgres.env` or `service.env` where possible | ||
|
||
# License | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters