1 Star 0 Fork 347

休休开发/APITable

forked from APITable/APITable 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.ut-backend.yaml 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3'
services:
test-mysql:
container_name: test-mysql
image: mysql:8.0.28-oracle
networks:
- apitable
ports:
- '3306:3306'
environment:
- MYSQL_DATABASE=apitable_test
- MYSQL_USER=apitable
- MYSQL_PASSWORD=password
- MYSQL_ROOT_PASSWORD=password
command: ['mysqld', '--sql_mode=IGNORE_SPACE,NO_ENGINE_SUBSTITUTION', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
healthcheck:
test: "mysql $$MYSQL_DATABASE -u$$MYSQL_USER -p$$MYSQL_PASSWORD -e 'SELECT 1;'"
interval: 30s
timeout: 10s
retries: 5
test-init-db:
container_name: test-init-db
image: gradle:jdk8
networks:
- apitable
working_dir: /data
volumes:
- ./init-db:/data
environment:
- DB_HOST=test-mysql
- DB_PORT=3306
- DB_NAME=apitable_test
- DB_USERNAME=apitable
- DB_PASSWORD=password
- DATABASE_TABLE_PREFIX=apitable_
entrypoint: ./gradlew update
test-redis:
container_name: test-redis
image: redis:5.0.7-alpine
networks:
- apitable
ports:
- '6379:6379'
healthcheck:
test: ['CMD', 'redis-cli', '--raw', 'incr', 'ping']
interval: 30s
timeout: 10s
retries: 5
test-rabbitmq:
container_name: test-rabbitmq
image: rabbitmq:3-management
networks:
- apitable
ports:
- '5672:5672'
- '15672:15672'
environment:
- RABBITMQ_DEFAULT_USER=apitable
- RABBITMQ_DEFAULT_PASS=password
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 10s
retries: 5
networks:
apitable:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/hugh_development/APITable.git
git@gitee.com:hugh_development/APITable.git
hugh_development
APITable
APITable
develop

搜索帮助

0d507c66 1850385 C8b1a773 1850385