This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
||||
container_name: telegram-bot-api
|
||||
hostname: telegram-bot-api
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
@@ -13,13 +14,5 @@ services:
|
||||
HTTP_PROXY: http://192.168.1.10:10172
|
||||
HTTPS_PROXY: http://192.168.1.10:10172
|
||||
NO_PROXY: localhost,127.0.0.1,telegram-bot-api,uptime-kuma
|
||||
ports:
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
- /opt/data/telegram-bot-api:/var/lib/telegram-bot-api
|
||||
networks:
|
||||
- telegram-bot-api
|
||||
|
||||
networks:
|
||||
telegram-bot-api:
|
||||
name: telegram-bot-api
|
||||
|
||||
@@ -10,10 +10,4 @@ services:
|
||||
TZ: Europe/Moscow
|
||||
volumes:
|
||||
- /opt/data/uptime-kuma:/app/data
|
||||
networks:
|
||||
- default
|
||||
- telegram-bot-api
|
||||
networks:
|
||||
default:
|
||||
telegram-bot-api:
|
||||
external: true
|
||||
networks: {}
|
||||
|
||||
Reference in New Issue
Block a user