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

docs: Docker compose deployment #184

Open
ilyasKerbal opened this issue Jan 31, 2025 · 4 comments
Open

docs: Docker compose deployment #184

ilyasKerbal opened this issue Jan 31, 2025 · 4 comments
Assignees

Comments

@ilyasKerbal
Copy link

Current State

While following the docker compose guide, I got the following error:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "/nsqd --data-path=/data": stat /nsqd --data-path=/data: no such file or directory: unknown

Here is the deployment for the apipark-nsq service:

  apipark-nsq:
    container_name: apipark-nsq
    image: nsqio/nsq:v1.3.0
    hostname: apipark-nsq
    privileged: true
    restart: always
    command:
      - /nsqd --data-path=/data
    ports:
      - 4150:4150
      - 4151:4151
    volumes:
      - ./var/lib/apipark/nsq:/data
    networks:
      - apipark

Desired State

Fix the error

@Dot-Liu
Copy link
Collaborator

Dot-Liu commented Feb 7, 2025

Ok. We will try to reproduce it first and get back to you as soon as possible.

@Dot-Liu Dot-Liu self-assigned this Feb 7, 2025
@Dot-Liu
Copy link
Collaborator

Dot-Liu commented Feb 8, 2025

Please update the nsq service as follows

  apipark-nsq:
    container_name: apipark-nsq
    image: nsqio/nsq:v1.3.0
    hostname: apipark-nsq
    privileged: true
    restart: always
    command:
      - /nsqd
    ports:
      - 4150:4150
      - 4151:4151
    networks:
      - apipark

@ilyasKerbal
Copy link
Author

@Dot-Liu Thank you, the problem is gone, but I cannot deploy APIPark yet. All the services are running and well configured, but I cannot access the APIPark from the specified port.

My recommendation is to improve the deployment page, it lacks context and description for the different steps.

Good luck

@Dot-Liu
Copy link
Collaborator

Dot-Liu commented Feb 10, 2025

Ok,Thank you for your suggestion. We are considering optimizing the deployment process.

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

2 participants