This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP-LB: | |
image: httpd:latest | |
publish_all: true | |
mem_min: 50m | |
host: host1 | |
plugins: | |
- !plugin | |
id: uazUi | |
restart: true | |
lifecycle: on_create, post_scale_out:AppServer, post_scale_in:AppServer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nginx: | |
image: nginx:latest | |
publish_all: true | |
mem_min: 50m | |
host: host1 | |
plugins: | |
- !plugin | |
id: 0H1Nk | |
restart: true | |
lifecycle: on_create, post_scale_out:AppServer, post_scale_in:AppServer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Medium - Instance name prefix. | |
Medium: | |
region: us-west-1 | |
instanceType: ecs.s2.large | |
# Ubuntu 14.04 64bit | |
image: ubuntu1404_64_40G_aliaegis_20160222.vhd | |
# mandatory - port 22 should be accessible | |
securityGroup: sg-u11e46tlb | |
# SSH ROOT username | |
username: root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP-LB: | |
image: httpd:latest | |
publish_all: true | |
host: host1 | |
mem_min: 50m | |
plugins: | |
- !plugin | |
id: uazUi | |
restart: true | |
lifecycle: on_create, post_scale_out:PHP, post_scale_in:PHP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LB: | |
image: nginx:latest | |
publish_all: true | |
mem_min: 50m | |
host: host1 | |
plugins: | |
- !plugin | |
id: 0H1Nk | |
restart: true | |
lifecycle: on_create, post_scale_out:AppServer, post_scale_in:AppServer, post_start:AppServer, post_stop:AppServer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AppServer: | |
image: tomcat:8.0.21-jre8 | |
mem_min: 600m | |
publish_all: true | |
host: host1 | |
cluster_size: 1 | |
environment: | |
- database_driverClassName=com.mysql.jdbc.Driver | |
- database_url=jdbc:mysql://{{MySQL|container_ip}}:3306/{{MySQL|MYSQL_DATABASE}} | |
- database_username={{MySQL|MYSQL_USER}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wordpress: | |
image: wordpress:latest | |
mem_min: 1g | |
publish_all: true | |
environment: | |
- WORDPRESS_DB_PASSWORD={{MySQL|MYSQL_ROOT_PASSWORD}} | |
- WORDPRESS_DB_HOST={{MySQL|container_private_ip}}:3306 | |
- WORDPRESS_DB_USER={{MySQL|MYSQL_USER}} | |
- WORDPRESS_DB_NAME={{MySQL|MYSQL_DATABASE}} | |
MySQL: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node: | |
image: dchq/nodejs:latest | |
mem_min: 50m | |
cpu_shares: 1 | |
publish_all: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins: | |
- !plugin | |
id: <plugin-id> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Machine: | |
# Note: Some of the fields are optional based on provider and can be left empty. | |
region: West US | |
description: This provisions a Docker-enabled Standard D2 virtual machine in West US. | |
instanceType: STANDARD_D3 | |
image: b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04-LTS-amd64-server-20140416.1-en-us-30GB/West US | |
count: 1 |