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

depends_on is not supported #57

Closed
surajssd opened this issue Jul 22, 2016 · 3 comments
Closed

depends_on is not supported #57

surajssd opened this issue Jul 22, 2016 · 3 comments

Comments

@surajssd
Copy link
Member

I am using following docker-compose.yml and when running it errors out saying depends_on not supported.

$ cat docker-compose.yml
  mariadb:
    image: centos/mariadb
    ports:
      - "3306"
    environment:
      MYSQL_ROOT_PASSWORD: etherpad
      MYSQL_DATABASE: etherpad
      MYSQL_PASSWORD: etherpad
      MYSQL_USER: etherpad

  etherpad:
    build: "./myphp"
    ports:
      - "80:9001"
    depends_on:
      - mariadb
    environment:
      DB_HOST: mariadb
      DB_DBID: etherpad
      DB_PASS: etherpad
      DB_USER: etherpad

running it

$ ./kompose convert -o output
ERRO[0000] Could not parse config for project etherpad : Unsupported config option for etherpad service: 'depends_on' 
FATA[0000] Failed to load compose file%!(EXTRA *errors.errorString=Unsupported config option for etherpad service: 'depends_on') 
@ngtuna
Copy link
Contributor

ngtuna commented Jul 22, 2016

There are some keys we have not covered. I'm gonna submit a patch for the warning message. Please stay turned :-)

@ngtuna
Copy link
Contributor

ngtuna commented Jul 22, 2016

#3

@ngtuna
Copy link
Contributor

ngtuna commented Jul 25, 2016

Closed by 278a8af

@ngtuna ngtuna closed this as completed Jul 25, 2016
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