version: "3.9" services: nats: image: nats:2.9.8-scratch ports: - "4222:4222" - "8222:8222" #command: "--http_port 8222 " networks: [ "nats" ] networks: nats: name: nats