码迷,mamicode.com
首页 > 其他好文 > 详细

compose批量启动openstack

时间:2018-01-24 16:52:10      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:mysql   ports   mem   pos   ash   open   int   emc   memcache   

批量启动compose

mariadb:
image: "mariadb:v0.3"
container_name: mariadb
hostname: mariadb
ports:

  • "3306:3306"
    environment:
  • init=true
    command: /opt/entrypoint.sh
    volumes:
  • /var/log/:/var/log/
  • /data/mysql/:/var/lib/mysql
    rabbitmq:
    image: "rabbitmq:v0.3"
    container_name: rabbitmq
    hostname: rabbitmq
    ports:
  • "4369:4369"
  • "25672:25672"
  • "5672:5672"
    command: /opt/init_rabbitmq.sh
    memcache:
    image: "memcache:v0.3"
    container_name: memcache
    hostname: memcache
    ports:
  • "11211:11211"
    command: "/usr/bin/memcached -u root"
    volumes:
  • /var/log/:/var/log/
  • /etc/hosts:/etc/hosts
    keystone:
    image: "keystone:v0.3"
    container_name: keystone
    hostname: keystone
    environment:
  • init=true
    links:
  • mariadb
    ports:
  • "35357:35357"
  • "5000:5000"
    command: "/opt/init_keystone.sh"
    volumes:
  • /data/keystone/:/var/log/keystone/
    glance:
    image: "glance:v0.3"
    container_name: glance
    hostname: glance
    environment:
  • init=true
    command: "/opt/init_glance.sh"
    links:
  • mariadb
  • rabbitmq
  • keystone
  • memcache
    ports:
  • 9191:9191
  • 9292:9292
    volumes:
  • /data/glance/:/var/lib/glance/
    neutron:
    image: "neutron:v0.3"
    container_name: neutron
    hostname: neutron
    privileged: true
    environment:
  • init=true
    command: "/opt/init_neutron.sh"
    links:
  • mariadb
  • rabbitmq
  • memcache
  • keystone
    ports:
  • 9696:9696
    nova:
    image: "nova:v0.3"
    container_name: nova
    hostname: nova
    privileged: true
    environment:
  • init=true
    command: "/opt/init_compute_control.sh"
    links:
  • mariadb
  • rabbitmq
  • memcache
  • keystone
  • glance
  • neutron
    ports:
  • 6080:6080
  • 8774:8774
  • 8775:8775
    dashboard:
    image: "dashboard:v0.3"
    container_name: dashboard
    hostname: dashboard
    command: "/usr/sbin/httpd -DFOREGROUND"
    links:
  • memcache
  • keystone
    ports:
  • 80:80

compose批量启动openstack

标签:mysql   ports   mem   pos   ash   open   int   emc   memcache   

原文地址:http://blog.51cto.com/wujingfeng/2064680

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!