Use environment when building
diff --git a/docker-compose.yml b/docker-compose.yml
index 134196b..b700a60 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,6 +4,11 @@
     build:
       context: .
       dockerfile: nginx/Dockerfile
+      args:
+        - SELFSIGNED_REQ_HOST=${SA_PUBLIC_DOMAIN_NAME}
+        - SELFSIGNED_REQ_ALT_NAMES=DNS:${SA_PUBLIC_DOMAIN_NAME},
+            DNS:id.${SA_PUBLIC_DOMAIN_NAME}, DNS:mail.${SA_PUBLIC_DOMAIN_NAME},
+            DNS:review.${SA_PUBLIC_DOMAIN_NAME}
     env_file: environment
     ports:
       - "80:80"