From 1ec02d36649a54af7eeb617f3d89e04baa9ab9ef Mon Sep 17 00:00:00 2001 From: BennyThink Date: Thu, 30 Dec 2021 14:32:55 +0800 Subject: [PATCH] publish port --- docker-compose.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2092843..9f8ae1c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,8 @@ services: restart: always logging: driver: none + ports: + - "192.168.6.1:6379:6379" mysql: image: mysql/mysql-server:8.0 @@ -23,6 +25,8 @@ services: MYSQL_ROOT_PASSWORD: 'root' logging: driver: none + ports: + - "192.168.6.1:3306:3306" ytdl: image: bennythink/ytdlbot @@ -35,12 +39,3 @@ services: volumes: - ./data/instagram.com_cookies.txt:/ytdlbot/ytdlbot/instagram.com_cookies.txt - ./data/vnstat/:/var/lib/vnstat/ - - worker: - image: bennythink/ytdlbot - env_file: - - env/ytdl.env - restart: always - command: [ "python" ,"tasks.py" ] - volumes: - - ./data/instagram.com_cookies.txt:/ytdlbot/ytdlbot/instagram.com_cookies.txt \ No newline at end of file