version: '3' services: output-service-postgres: image: "postgres:13" restart: "always" volumes: - "sample-service-data:/var/lib/postgresql/data" ports: - "127.0.0.1:54321:5432" environment: POSTGRES_USER: "sample-service" POSTGRES_PASSWORD: "sample-service" POSTGRES_DB: "sample-service" rabbitmq: image: "registry.kmlabz.com/birbnetes/rabbitmq-federation" ports: - "127.0.0.1:15672:15672" - "127.0.0.1:5672:5672" volumes: ktor-data: