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

[Request] Please provide setup docs for non-docker environments #739

Open
realkinetix opened this issue Aug 23, 2024 · 4 comments
Open

[Request] Please provide setup docs for non-docker environments #739

realkinetix opened this issue Aug 23, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation help-wanted need contributors

Comments

@realkinetix
Copy link

For a small instance that one might want to setup on a system that already has postgres, redis and everything else needed, it would be great to be able to run a neodb setup without having docker involved at all.

@alphatownsman
Copy link
Member

It's possible to use docker to run neodb server but reuse existing psql/redis/typesense server with compose.override.yml, an example for your reference:

services:
  redis:
    profiles: ['disabled']
  typesense:
    profiles: ['disabled']
  neodb-db:
    profiles: ['disabled']
  takahe-db:
    profiles: ['disabled']
  migration:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  neodb-web:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
    healthcheck: !reset {}
  neodb-web-api:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
    healthcheck: !reset {}
  neodb-worker:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  neodb-worker-extra:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  takahe-web:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  takahe-stator:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  shell:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  root:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  dev-neodb-web:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  dev-neodb-worker:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  dev-takahe-web:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  dev-takahe-stator:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  dev-shell:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []
  dev-root:
    extra_hosts:
      - "host.docker.internal:host-gateway"
    depends_on: !reset []

I don't have time to write a comprehensive doc for this, but open for PR.

@alphatownsman alphatownsman moved this from Wishlist to Dropped in NeoDB Roadmap Oct 11, 2024
@realkinetix
Copy link
Author

Close, but that still doesn't cover not having docker at all.

@alphatownsman
Copy link
Member

The remaining portion of the service comprises six processes with intricate configurations. Significant code restructuring is necessary to simplify these configurations, which I am not prepared to undertake at this time.

@realkinetix
Copy link
Author

Why would they need to be changed?

@alphatownsman alphatownsman added documentation Improvements or additions to documentation help-wanted need contributors labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help-wanted need contributors
Projects
Status: Dropped
Development

No branches or pull requests

2 participants