代码拉取完成,页面将自动刷新
同步操作将从 openEuler/signatrust 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
data-server:
build:
context: .
args:
BINARY: data-server
CONFIG: ./docker
dockerfile: ./docker/Dockerfile.data-server
hostname: data-server
entrypoint: ["/bin/bash", "-cx", "/app/sqlx database create; /app/sqlx migrate run; /app/data-server"]
depends_on:
- redis
- database
stdin_open: true
tty: true
user: signatrust
environment:
RUST_LOG: $RUST_LOG
DATABASE_URL: $DATABASE_URL
ports:
- "8088:8088"
control-server:
build:
context: .
args:
BINARY: control-server
CONFIG: ./docker
dockerfile: ./docker/Dockerfile.data-server
hostname: control-server
depends_on:
- redis
- database
- data-server
stdin_open: true
tty: true
user: signatrust
environment:
RUST_LOG: $RUST_LOG
entrypoint: ["/bin/bash", "-cx", "sleep 5; /app/control-server"]
ports:
- "8080:8080"
redis:
image: openeuler/redis:6.2.7-22.03-lts
hostname: redis
stdin_open: true
tty: true
volumes:
- redis:/var/lib/redis/data
command: redis-server --requirepass $REDIS_PASSWD
ports:
- "6379:6379"
database:
image: mysql:8.0
hostname: database
volumes:
- database:/var/lib/mysql
environment:
MYSQL_DATABASE: $MYSQL_DATABASE
MYSQL_PASSWORD: $MYSQL_PASSWORD
MYSQL_USER: $MYSQL_USER
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
ports:
- "3306:3306"
volumes:
database:
redis:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。