Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

任务创建以后没有正常执行,无任何执行记录 #110

Open
muye100110 opened this issue Apr 6, 2023 · 5 comments
Open

任务创建以后没有正常执行,无任何执行记录 #110

muye100110 opened this issue Apr 6, 2023 · 5 comments
Labels
question Further information is requested

Comments

@muye100110
Copy link

任务创建以后,到时间没有执行,找不到执行记录,日志等都是空的
image
image
image

@muye100110 muye100110 added the question Further information is requested label Apr 6, 2023
@Nuoky
Copy link

Nuoky commented Apr 23, 2023

同,解决了么@muye100110

@muye100110
Copy link
Author

muye100110 commented Apr 24, 2023 via email

@Nuoky
Copy link

Nuoky commented Apr 24, 2023

可能是无法访问到master之类的问题?按下面配置下暂时解决问题

  1. core_docker.toml 把 serveraddrs 改成了宿主机内网IP
serveraddrs = ["172..x.x.x:8080"]
  1. docker-compose.yml 改成了networks bridge
version: '3.1'

networks:
  app-crocodile:
    driver: bridge

services: 
    master: 
        image: labulaka522/crocodile
        container_name: crocodile_master
        restart: always
        ports: 
          - 8080:8080
        volumes: 
          - $PWD/core_docker.toml:/app/core.toml
        networks:
          - app-crocodile
    worker:       
        image: labulaka522/crocodile:worker
        container_name: crocodile_worker
        ports: 
          - 8088:8088
        volumes: 
            - $PWD/core_docker.toml:/app/core.toml
        networks:
          - app-crocodile
    mysql:
        image: mysql:latest
        environment:
          - TZ=Asia/Shanghai
          - MYSQL_ROOT_PASSWORD=crocodile # set the root password
          - MYSQL_DATABASE=crocodile
        volumes: 
           - "./data:/var/lib/mysql"   # mysql数据持久化
        ports: 
          - 3306:3306
        networks:
          - app-crocodile
    redis:
        image: redis:latest
        restart: always
        ports: 
          - 6379:6379
        networks:
            - app-crocodile

@superopsdev
Copy link

实例名称跟实际部署的不是一个,改一下实例名称就好

@imwower
Copy link

imwower commented Feb 14, 2024

增加一下网络配置:
--network=bridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants