proteus icon indicating copy to clipboard operation
proteus copied to clipboard

proteus/worker start failed

Open lsr00ter opened this issue 2 years ago • 2 comments

While run sudo docker compose up, I got this:

proteus-worker-1  | python3: can't open file '/app/bin/worker/worker.py': [Errno 2] No such file or directory

and I'm confused, the path of docker-compose.yml file is proteus/docker-compose.yml, why "Navigate to the bin directory and inspect the docker-compose.yml"?

lsr00ter avatar Aug 07 '22 03:08 lsr00ter

services:
  redis:
    image: redis
  mongo:
    image: mongo
  worker:
    image: proteus/worker
    build:
      context: bin/worker/
    volumes:
      - /home/op/.axiom/accounts/personal.json:/root/.axiom/accounts/default.json # map your account here 
      - /home/op/.axiom/modules:/root/.axiom/modules # map modules
      - /home/op/.ssh:/root/.ssh # map SSH
      - /home/op/.proteus:/app # map proteus folder to the app (for persistence of data like rawdata & scans), not 100% necessary but nice to have.

Under volumes, change the /home/op/ to whatever your home directory is and it should work. @wr00t. I'll clarify the readme.

0xtavian avatar Aug 09 '22 20:08 0xtavian

@0xtavian One update, the readme says the docker-compose is in the bin folder, but its in the root.

fail-open avatar Aug 18 '22 19:08 fail-open