Pass DOMAIN to nginx

This commit is contained in:
Luke Murphy 2020-06-17 23:27:05 +02:00
parent e28791d931
commit 8ea178529f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ version: "3.8"
services:
nginx:
image: "nginx:stable"
environment:
- DOMAIN=${DOMAIN}
configs:
- source: nginx-conf
target: /etc/nginx/nginx.conf