fix(deploy): attach infra services to shared mci-network and fix mci-server Dockerfile
- Add mci-network to infrastructure services so app services can resolve mci-mysql - Remove cross-project depends_on from docker-compose.app.yml - Copy parent pom.xml in mci-server Dockerfile so child modules resolve sino-mci-parent - Fix typo in local-up.sh RabbitMQ retry counter
This commit is contained in:
@@ -11,12 +11,16 @@ services:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- mci-mysql-data:/var/lib/mysql
|
||||
networks:
|
||||
- mci-network
|
||||
|
||||
redis:
|
||||
image: redis:7.2
|
||||
container_name: mci-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
- mci-network
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.13-management
|
||||
@@ -27,6 +31,8 @@ services:
|
||||
ports:
|
||||
- "5672:5672"
|
||||
- "15672:15672"
|
||||
networks:
|
||||
- mci-network
|
||||
|
||||
seaweedfs:
|
||||
image: chrislusf/seaweedfs:3.62
|
||||
@@ -37,7 +43,13 @@ services:
|
||||
command: server -dir=/data
|
||||
volumes:
|
||||
- mci-seaweedfs-data:/data
|
||||
networks:
|
||||
- mci-network
|
||||
|
||||
volumes:
|
||||
mci-mysql-data:
|
||||
mci-seaweedfs-data:
|
||||
|
||||
networks:
|
||||
mci-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user