From f03519e232871b0dfa2a67960b5f1dff88e40feb Mon Sep 17 00:00:00 2001 From: flifloo Date: Wed, 5 Feb 2020 10:31:04 +0100 Subject: [PATCH] Nginx docker integration and relative volume mount --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b9164cd..d5785a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,10 +2,13 @@ version: '3' services: bot: build: . - ports: - - "5002:5000" + networks: + - nginx_web volumes: - - /home/docker/TelegramEDT/TelegramEDT:/TelegramEDT + - ./TelegramEDT/TelegramEDT:/TelegramEDT env_file: - webhook_secret.env +networks: + nginx_web: + external: true