devops-lab4/docker-compose-dev.yaml

40 lines
668 B
YAML

services:
redis:
image: redis:7
restart: always
networks:
- sys
cc:
image: 10.5.1.10:5000/dev/cc
restart: always
environment:
Redis__ConnectionString: "redis:6379"
ports:
- 8080:8080
networks:
- sys
depends_on:
- redis
hm:
image: 10.5.1.10:5000/dev/hm
restart: always
environment:
CommunicationConfiguration__CommunicationControlIP: "cc"
networks:
- sys
depends_on:
- cc
map:
image: 10.5.1.10:5000/dev/map
restart: always
volumes:
- ./map/config-dev.json:/usr/share/nginx/html/config.json:ro
ports:
- 80:80
networks:
sys: