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

Please add docker-compose.yml file #44

Open
ben-kenney opened this issue Jun 8, 2024 · 2 comments
Open

Please add docker-compose.yml file #44

ben-kenney opened this issue Jun 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ben-kenney
Copy link

Let's Talk About Your Feature Idea

We're always looking for ways to improve TypingMind Proxy! Let's discuss how your feature could address current limitations and enhance the plugin development experience.

1. What problem does this solve?

Makes it easier for user to start the docker service.

2. Describe your proposed solution.

Include the following docker-compose.yml file in the repo:

services:
  typingmind-plugins-server:
    build:
      context: ./
      dockerfile: Dockerfile
    ports:
      - "8080:8080"
    environment:
      - NODE_ENV=development

This way user just need to run: docker compose up -d

@ben-kenney ben-kenney added the enhancement New feature or request label Jun 8, 2024
@nickali
Copy link

nickali commented Jul 15, 2024

I've tried creating a docker-compose.yml like this and running it locally and setting the URL in TypingMind to http://127.0.0.1:8080. I get the error:

Error: Unable to generate a summary. Please try again later.

The docker logs don't show any errors.

@ben-kenney
Copy link
Author

I've tried creating a docker-compose.yml like this and running it locally and setting the URL in TypingMind to http://127.0.0.1:8080. I get the error:

My guess is that typingmind doesn’t have access to 127.0.0.1 since this will only work on the machine running the docker container. You’ll probably need to make sure the docker container is accessible from outside your local network. I’m using cloudflare tunnels to do this for example.

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

No branches or pull requests

2 participants