kompose: FATA services.xxx.ports.0 must be a string or number

    ports:
      - target: 5010
        published: 5010
        protocol: tcp

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 3
  • Comments: 26 (11 by maintainers)

Most upvoted comments

Hello. This issue is still present in Kompose version 1.22.

yes, I have the same problem

@cdrage still failing

FATA services.traefik.ports.0 must be a string or number 
✗: 1 @ Fri 23 Oct 2020 10:46:28 PM MSK

My version: 1.17.0 (HEAD)

You can test it on these lines https://github.com/lexfrei/GhostStack/blob/4c8370be71936d856b2f284eae4a95f60cf021c7/blog.yaml#L28-L34

Ref.: https://docs.docker.com/compose/compose-file/#long-syntax-1 Schema ref.: https://github.com/docker/compose/blob/60514c1adbeee1ce829f7394a0c6ee2176ac9405/compose/config/config_schema_compose_spec.json#L299-L319

P.S. FATA? 😃