123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- #
- # Copyright 2016-present the IoT DC3 original author or authors.
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- #
- # https://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- #
- services:
- mysql:
- image: registry.cn-beijing.aliyuncs.com/dc3/dc3-mysql:2024.3.0.dev
- restart: always
- ports:
- - '33306:3306'
- environment:
- - MYSQL_ROOT_PASSWORD=dc3
- container_name: dc3-mysql
- hostname: dc3-mysql
- volumes:
- - mysql_data:/data
- - mysql_lib:/var/lib/mysql
- logging:
- driver: json-file
- options:
- max-size: '10M'
- max-file: '20'
- networks:
- dc3net:
- aliases:
- - dc3-mysql
- mongo:
- image: registry.cn-beijing.aliyuncs.com/dc3/dc3-mongo:2024.3.0.dev
- restart: always
- ports:
- - '37017:27017'
- container_name: dc3-mongo
- hostname: dc3-mongo
- volumes:
- - mongo_data:/data/db
- - mongo_config:/data/configdb
- logging:
- driver: json-file
- options:
- max-size: '10M'
- max-file: '20'
- networks:
- dc3net:
- aliases:
- - dc3-mongo
- redis:
- image: registry.cn-beijing.aliyuncs.com/dc3/dc3-redis:2024.3.0.dev
- restart: always
- ports:
- - '36379:6379'
- container_name: dc3-redis
- hostname: dc3-redis
- volumes:
- - redis:/data
- logging:
- driver: json-file
- options:
- max-size: '10M'
- max-file: '20'
- networks:
- dc3net:
- aliases:
- - dc3-redis
- rabbitmq:
- image: registry.cn-beijing.aliyuncs.com/dc3/dc3-rabbitmq:2024.3.0.dev
- restart: always
- ports:
- - '5672:5672'
- - '2883:1883'
- - '3883:8883'
- - '15672:15672'
- container_name: dc3-rabbitmq
- hostname: dc3-rabbitmq
- volumes:
- - rabbitmq:/var/lib/rabbitmq
- logging:
- driver: json-file
- options:
- max-size: '10M'
- max-file: '20'
- networks:
- dc3net:
- aliases:
- - dc3-rabbitmq
- volumes:
- mysql_data:
- mysql_lib:
- mongo_data:
- mongo_config:
- redis:
- rabbitmq:
- networks:
- dc3net:
- driver: bridge
- ...
|