chore: add dev configs and local infrastructure
This commit is contained in:
43
infrastructure/docker-compose.yml
Normal file
43
infrastructure/docker-compose.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0.36
|
||||
container_name: mci-mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
MYSQL_DATABASE: sino_mci
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- mci-mysql-data:/var/lib/mysql
|
||||
|
||||
redis:
|
||||
image: redis:7.2
|
||||
container_name: mci-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.13-management
|
||||
container_name: mci-rabbitmq
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: guest
|
||||
RABBITMQ_DEFAULT_PASS: guest
|
||||
ports:
|
||||
- "5672:5672"
|
||||
- "15672:15672"
|
||||
|
||||
seaweedfs:
|
||||
image: chrislusf/seaweedfs:3.62
|
||||
container_name: mci-seaweedfs
|
||||
ports:
|
||||
- "9333:9333"
|
||||
- "8888:8888"
|
||||
command: server -dir=/data
|
||||
volumes:
|
||||
- mci-seaweedfs-data:/data
|
||||
|
||||
volumes:
|
||||
mci-mysql-data:
|
||||
mci-seaweedfs-data:
|
||||
Reference in New Issue
Block a user