From f1636345dc37bb93a97a12c997c4b0456b7e8f5e Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 14 May 2022 18:05:04 +0430 Subject: [PATCH] add env --- app.env | 1 + docker-compose.yml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app.env b/app.env index e69de29..d3ecdf1 100644 --- a/app.env +++ b/app.env @@ -0,0 +1 @@ +RAILS_ENV=production \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index cb449c8..a92809a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,4 +28,8 @@ services: tty: true stdin_open: true ports: - - "3000:3000" \ No newline at end of file + - "3000:3000" + environment: + VIRTUAL_HOST: contact.bitium.agency + LETSENCRYPT_HOST: contact.bitium.agency + VIRTUAL_PORT: 3000