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:
stephan.kasdorf
2024-05-29 16:14:12 +02:00
parent d127abb364
commit 6c2d67a140
2 changed files with 2 additions and 0 deletions

1
.env
View File

@@ -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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

View File

@@ -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: