代码拉取完成,页面将自动刷新
同步操作将从 APITable/APITable 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。