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

Setup Docker compose #17

Open
asabya opened this issue Sep 1, 2023 · 1 comment
Open

Setup Docker compose #17

asabya opened this issue Sep 1, 2023 · 1 comment

Comments

@asabya
Copy link
Collaborator

asabya commented Sep 1, 2023

We should have docker compose to spin up our stack.

For now we start the vectorizer and FaVe. we can add other vectorizers and different modules in future.

@asabya
Copy link
Collaborator Author

asabya commented Sep 14, 2023

version: '0.0.0'
services:
  vectorizer:
    image: fairdatasociety/huggingface-vectorizer:latest
    ports:
      - 9876:9876
    restart: on-failure:0
    extra_hosts:
      - "host.docker.internal:host-gateway"

  fave:
    command:
    - --host
    - 0.0.0.0
    - --port
    - '1234'
    - --write-timeout
    - 1500m
    - --read-timeout
    - 1500m
    image: fairdatasociety/fave:latest
    ports:
    - 1234:1234
    restart: on-failure:0
    environment:
      BEE_API: <BEE_API_ENDPOINT>
      RPC_API: <BLOCKCHAIN_RPC_ENDPOINT>
      STAMP_ID: <BATCH_ID>
      USER: <FDS_USERNAME>
      PASSWORD: <FDS_PASWORD>
      POD: <POD_NAME>
      VECTORIZER_URL: http://host.docker.internal:9876 

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

No branches or pull requests

1 participant