Files
operationSystem-docker/db-docker/docker-compose.yml
2024-08-22 14:05:05 +09:00

27 lines
527 B
YAML

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"