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

Failing with my Node.js, RabbitMQ app #1019

Closed
booboothefool opened this issue May 25, 2018 · 2 comments
Closed

Failing with my Node.js, RabbitMQ app #1019

booboothefool opened this issue May 25, 2018 · 2 comments

Comments

@booboothefool
Copy link

booboothefool commented May 25, 2018

This docker-compose.yml gives me failing (doesn't run on kubectl):

  • rabbitmq deployment
  • node pod
  • rabbitmq pod
  • rabbitmq replica set
  • node-claim0 persistent volume claim (missing persistent volume?)

The rest of the generated .yaml e.g. all of the MongoDB seems to work.

Please let me know if I am missing any steps or something seems wrong. Thanks!

version: "3"

services:
  node:
    build: .
    volumes:
      - ~/.somedir:/root/.somedir
    ports:
      - 8085:8085
    depends_on:
      - rabbitmq
      - mongo1
      - mongo2
      - mongo3
    restart: on-failure
  rabbitmq:
    image: rabbitmq
    ports:
      - 5672:5672
  mongo1:
    image: mongo
    ports:
      - 27017:27017
    command: mongod --replSet rs0
  mongo2:
    image: mongo
    ports:
      - 27018:27017
    command: mongod --replSet rs0
  mongo3:
    image: mongo
    ports:
      - 27019:27017
    command: mongod --replSet rs0

networks:
  default:
      external:
          name: mynet
@hangyan
Copy link
Contributor

hangyan commented Jun 3, 2018

@booboothefool PV is a environment specific resource, we cannot generate it from the compose file

@hangyan
Copy link
Contributor

hangyan commented Aug 20, 2018

@booboothefool Close this issue now. You can reopen this if you have further quetions

@hangyan hangyan closed this as completed Aug 20, 2018
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