Add LetsEncrypt host to env and docker-compose files
An update was made in the environment variable `.env` file, where a new host for LetsEncrypt was added. This LetsEncrypt host was then also added to the `docker-compose.yml` file. These changes equip the application with SSL encryption capabilities.
This commit is contained in:
1
.env
1
.env
@@ -1,5 +1,6 @@
|
|||||||
COMPOSE_PROJECT_NAME=nibiru-framework-api
|
COMPOSE_PROJECT_NAME=nibiru-framework-api
|
||||||
VIRTUAL_HOST=agent.api.nibiru-framework.com
|
VIRTUAL_HOST=agent.api.nibiru-framework.com
|
||||||
|
LETSENCRYPT_HOST=agent.api.nibiru-framework.com
|
||||||
VIRTUAL_PORT=80
|
VIRTUAL_PORT=80
|
||||||
PROXY_NETWORK=nginx-proxy
|
PROXY_NETWORK=nginx-proxy
|
||||||
GITHUB_TOKEN=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
|
GITHUB_TOKEN=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
|
||||||
@@ -13,6 +13,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
environment:
|
environment:
|
||||||
|
- LETSENCRYPT_HOST=${LETSENCRYPT_HOST}
|
||||||
- VIRTUAL_HOST=${VIRTUAL_HOST}
|
- VIRTUAL_HOST=${VIRTUAL_HOST}
|
||||||
- VIRTUAL_PORT=${VIRTUAL_PORT}
|
- VIRTUAL_PORT=${VIRTUAL_PORT}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user