qwe
BOT_open_sesam/pipeline/head There was a failure building this commit Details

main
korotkov 2026-04-01 13:00:14 +05:00
parent dda0e8ebb7
commit be996f942b
2 changed files with 11 additions and 1 deletions

View File

@ -8,8 +8,17 @@ services:
env_file:
- ./.env
restart: always
networks:
- open_sesam_network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
open_sesam_network:
driver: bridge
ipam:
config:
- subnet: 172.30.10.0/30
gateway: 172.30.10.1

View File

@ -18,7 +18,8 @@ BOT_TOKEN=os.environ.get('BOT_TOKEN')
dp = Dispatcher()
register_all_handlers(dp)
PROXY_URL = "socks5://172.30.10.1:1080"
PROXY_URL = os.environ.get('PROXY_URL')
session = AiohttpSession(proxy=PROXY_URL)
async def main() -> None: