version: '2' services: consul: image: consul:latest ports: - "8500:8500" consulsetup: image: consul:latest depends_on: - consul restart: "no" volumes: - ./config/consul_config.json:/etc/consul_config.json entrypoint: ["sh", "-c", "curl --request PUT --data @/etc/consul_config.json http://consul:8500/v1/kv/config"] redis: image: redis:latest ports: - "6379:6379" dynamodb: image: amazon/dynamodb-local ports: - "8000:8000"