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

proteus/worker start failed #2

Open
lsr00ter opened this issue Aug 7, 2022 · 2 comments
Open

proteus/worker start failed #2

lsr00ter opened this issue Aug 7, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@lsr00ter
Copy link

lsr00ter commented Aug 7, 2022

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"?

@0xtavian
Copy link
Collaborator

0xtavian commented Aug 9, 2022

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 0xtavian added the good first issue Good for newcomers label Aug 9, 2022
0xtavian added a commit that referenced this issue Aug 9, 2022
@fail-open
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants