version: "3.9" services: krakend: image: krakend:2.12.0 ports: - mode: ingress target: 80 published: ${PORT:?Enviromentda port topilmadi} protocol: tcp volumes: - ./krakend.json:/etc/krakend/krakend.json:ro deploy: mode: replicated replicas: 1 restart_policy: condition: on-failure networks: - taxi networks: taxi: driver: overlay external: true attachable: true