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:
|
services:
|
||||||
bot:
|
bot:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
networks:
|
||||||
- "5002:5000"
|
- nginx_web
|
||||||
volumes:
|
volumes:
|
||||||
- /home/docker/TelegramEDT/TelegramEDT:/TelegramEDT
|
- ./TelegramEDT/TelegramEDT:/TelegramEDT
|
||||||
env_file:
|
env_file:
|
||||||
- webhook_secret.env
|
- webhook_secret.env
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx_web:
|
||||||
|
external: true
|
||||||
|
|
Reference in a new issue