Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: update types
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed May 3, 2020
1 parent 586bdf6 commit 3bf8f9c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .stackhead/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ all:
ansible_host: 1.2.3.4 # add your own IP here!
stackhead:
applications: # select one of the applications below for deployment
#- example_docker_singlecontainer
#- example_docker_multicontainer
#- example_container_single
#- example_container_multi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
domain: mydomain.com
deployment:
type: docker
type: container
settings:
expose:
service: nginx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
domain: mydomain.com
deployment:
type: docker
type: container
settings:
expose:
service: app
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ The provisioning and deployment part is the same regardless of the example you w

1. Adjust your inventory configuration in `.stackhead/inventory.yml`
1. Change the IP address in `ansible_host` to your own servers IP in `.stackhead/inventory.yml`
2. Uncomment the line "- example_docker_singlecontainer" in `applications` section
2. Uncomment the line "- example_container_single" in `applications` section

2. Adjust the project settings in `.stackhead/project/example_docker_singlecontainer.yml`
2. Adjust the project settings in `.stackhead/project/example_container_single.yml`
1. Set your own domain in `domain`

3. Validate your project file using the `project-validator` binary:
```shell script
./vendor/getstackhead/stackhead/validation/bin/project-validator .stackhead/project/example_docker_singlecontainer.yml
./vendor/getstackhead/stackhead/validation/bin/project-validator .stackhead/project/example_container_single.yml
```

#### Multi container application

1. Adjust your inventory configuration in `.stackhead/inventory.yml`
1. Change the IP address in `ansible_host` to your own servers IP in `.stackhead/inventory.yml`
2. Uncomment the line "- example_docker_multicontainer" in `applications` section
2. Uncomment the line "- example_container_multi" in `applications` section

2. Adjust the project settings in `.stackhead/project/example_docker_multicontainer.yml`
2. Adjust the project settings in `.stackhead/project/example_container_multi.yml`
1. Set your own domain in `domain`

3. Validate your project file using the `project-validator` binary:
```shell script
./vendor/getstackhead/stackhead/validation/bin/project-validator .stackhead/project/example_docker_multicontainer.yml
./vendor/getstackhead/stackhead/validation/bin/project-validator .stackhead/project/example_container_multi.yml
```

### Server provisioning
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3bf8f9c

Please sign in to comment.