提交 dc922e67 作者: 429287088

1

上级 e44bc56b
version: '2'
services:
bc-redis:
image: bitnami/redis:4.0
environment:
- REDIS_PASSWORD=${redis_password}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
bc-task:
image: alpine
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
bc-app:
image: registry.cn-hangzhou.aliyuncs.com/weisanyun/blockchain:apache
environment:
- JAVA_TRUSTSQL_URL=${java_trustsql_url}
- DB_HOST=${db_host}
- DB_NAME=${db_name}
- DB_USER=${db_user}
- DB_PWD=${db_pwd}
- REDIS_HOST={redis_host}
- REDIS_PASS=${redis_pass}
- DAN_PIN_LINK=${dan_pin_link}
stdin_open: true
volumes:
- bc-resources:/var/www/html/resources
- bc-language:/var/www/html/wsy_blockchain/language
- bc-components:/var/www/html/wsy_blockchain/web/view/blockchain/src/components
- bc-logs:/tmp/wsy_blockchain
tty: true
labels:
io.rancher.container.pull_image: always
bc-db:
image: registry.cn-hangzhou.aliyuncs.com/weisanyun/mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=${db_pwd}
- LANG: C.UTF-8
- MY_CNF=${db_cnf}
stdin_open: true
volumes:
- bc-mysql:/var/lib/mysql
tty: true
labels:
io.rancher.container.pull_image: always
bc-sdk:
image: registry.cn-hangzhou.aliyuncs.com/weisanyun/trustsql-sdk:v1.0.0
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
volumes:
bc-resources:
driver: ${volume_driver}
bc-language:
driver: ${volume_driver}
bc-components:
driver: ${volume_driver}
bc-logs:
driver: ${volume_driver}
bc-mysql:
driver: ${volume_driver}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论