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