Nginx docker integration and relative volume mount
This commit is contained in:
parent
4e6adb2b5f
commit
f03519e232
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue