提交 56216f70 作者: 429287088

1

上级 e941ba45
......@@ -16,6 +16,11 @@ services:
- REDIS_PASSWORD=${redis_pwd}
stdin_open: true
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
bc-task:
......@@ -24,6 +29,11 @@ services:
- TASK_CNF=*/1 * * * * wget --spider 'http://bc-app/wsy_blockchain/task/api/index.php?m=cron_dispatch&a=index'
stdin_open: true
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
bc-app:
......@@ -48,6 +58,11 @@ services:
- bc-address:/var/www/html/wsy_blockchain/web/view/blockchain/src/address
- bc-logs:/tmp/wsy_blockchain
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
traefik.frontend.rule: Host:${host_url}
traefik.port: '80'
......@@ -63,6 +78,11 @@ services:
volumes:
- bc-mysql:/var/lib/mysql
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
bc-sdk:
......@@ -75,6 +95,11 @@ services:
volumes:
- sdk-config:/usr/local/tomcat/webapps/blockchain/WEB-INF/main-resources
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
bc-mq-server:
......@@ -85,6 +110,11 @@ services:
- RABBITMQ_DEFAULT_VHOST=${mq_vhost}
stdin_open: true
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
bc-mq-client:
......@@ -97,6 +127,11 @@ services:
- MQ_VHOST=${mq_vhost}
stdin_open: true
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
website:
......@@ -109,6 +144,11 @@ services:
volumes:
- bc-resources:/var/www/html/resources
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
traefik.frontend.rule: Host:${website_url}
traefik.port: '80'
......@@ -125,6 +165,11 @@ services:
- sphinx_DB_USER=${db_user}
stdin_open: true
tty: true
logging:
driver: json-file
options:
max-size: 100m
max-file: '3'
labels:
io.rancher.container.pull_image: always
volumes:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论