加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.test-keystone.yml 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
Sergey Arkhipov 提交于 2017-01-31 14:38 . Decapod admin service
---
# Copyright (c) 2016 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: "2"
services:
frontend:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/frontend:${DECAPOD_VERSION}"
links:
- api
- admin
ports:
- "${DECAPOD_HTTP_PORT}:80"
- "${DECAPOD_HTTPS_PORT}:443"
restart: always
api:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/api:${DECAPOD_VERSION}"
links:
- database
- keystone
restart: "on-failure:5"
controller:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/controller:${DECAPOD_VERSION}"
links:
- database
restart: "on-failure:5"
volumes:
- "${DECAPOD_SSH_PRIVATE_KEY}:/root/.ssh/id_rsa:ro"
database:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/db:${DECAPOD_VERSION}"
volumes_from:
- database_data
restart: always
database_data:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/db-data:${DECAPOD_VERSION}"
volumes:
- /data/db
admin:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/admin:${DECAPOD_VERSION}"
links:
- database
- keystone
volumes:
- "${DECAPOD_SSH_PRIVATE_KEY}:/root/.ssh/id_rsa:ro"
restart: "on-failure:3"
keystone:
image: "${DECAPOD_REGISTRY_URL}${DECAPOD_NAMESPACE}decapod/keystone:${DECAPOD_VERSION}"
restart: "on-failure:3"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化