代码拉取完成,页面将自动刷新
同步操作将从 TEO Cloud/teo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.8'
services:
mysql:
image: mysql:latest
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=true
ports:
- '3307:3306'
postgres:
image: postgres:latest
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- '5433:5432'
mongos:
image: mongo:latest
ports:
- '27018:27017'
# mongo1:
# image: mongo:latest
# command: ["--replSet", "rs0", "--bind_ip_all", "--port", "27020"]
# ports:
# - 27020:27020
# extra_hosts:
# - "host.docker.internal:host-gateway"
# healthcheck:
# test: echo "try { rs.status() } catch (err) { rs.initiate({_id:'rs0',members:[{_id:0,host:'host.docker.internal:27020',priority:1}]}) }" | mongosh --port 27020 --quiet
# #test: echo "try { rs.status() } catch (err) { rs.initiate({_id:'rs0',members:[{_id:0,host:'host.docker.internal:27020',priority:1},{_id:1,host:'host.docker.internal:27021',priority:0.5},{_id:2,host:'host.docker.internal:27022',priority:0.5}]}) }" | mongosh --port 27020 --quiet
# interval: 5s
# timeout: 30s
# start_period: 0s
# retries: 30
# volumes:
# - "mongo1_data:/data/db"
# - "mongo1_config:/data/configdb"
#
# mongo2:
# image: mongo:latest
# command: ["--replSet", "rs1", "--bind_ip_all", "--port", "27018"]
# ports:
# - 27021:27021
# extra_hosts:
# - "host.docker.internal:host-gateway"
# volumes:
# - "mongo2_data:/data/db"
# - "mongo2_config:/data/configdb"
#
# mongo3:
# image: mongo:latest
# command: ["--replSet", "rs1", "--bind_ip_all", "--port", "27019"]
# ports:
# - 27022:27022
# extra_hosts:
# - "host.docker.internal:host-gateway"
# volumes:
# - "mongo3_data:/data/db"
# - "mongo3_config:/data/configdb"
#
#volumes:
# mongo1_data:
# mongo2_data:
# mongo3_data:
# mongo1_config:
# mongo2_config:
# mongo3_config:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。