This repository was archived by the owner on Sep 26, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +39
-11
lines changed
devops/ansible/roles/docker_containers/tasks Expand file tree Collapse file tree 3 files changed +39
-11
lines changed Original file line number Diff line number Diff line change
1
+ ### Build Docker Images
2
+
3
+ ```
4
+ cd devops/docker/elasticsearch
5
+ docker build -t expertcoder2017/elasticsearch .
6
+ docker push expertcoder2017/elasticsearch
7
+
8
+ cd devops/docker/lamp
9
+ docker build -t expertcoder2017/lamp .
10
+ docker push expertcoder2017/lamp
11
+ ```
12
+
13
+ ### Run ansible Playbooks
14
+
15
+ ```
16
+ cd devops/ansible
17
+ ansible-playbook -i ./hosts ./all.yml --limit=beta
18
+ ```
19
+
20
+ ### Some manual tasks not yet in deploy scripts
21
+
22
+ ```
23
+ cd /var/www
24
+ composer install
25
+
26
+ artisan migrate
27
+ artisan db:seed
28
+ artisan demo-sync-es
29
+ ```
30
+
Original file line number Diff line number Diff line change
1
+ # Address Book (Demo Application)
2
+
3
+ ### Tech Stack
4
+
5
+ * PHP 7/ Laravel 5.4
6
+ * Elastic Search
7
+ * Ansible Playbooks
8
+ * Docker
9
+
Original file line number Diff line number Diff line change 60
60
- name : backend
61
61
ports :
62
62
- " {{elasticsearch_port}}:9200"
63
-
64
- # NOTE - do I need to run this "rabbitmq-plugins enable rabbitmq_management" to enable the rabbitmq web interface
65
- - name : Rabbitmq
66
- docker_container :
67
- name : rabbitmq
68
- state : started
69
- image : rabbitmq:3.6.9
70
- networks :
71
- - name : backend
72
- ports :
73
- - " 15672:15672"
You can’t perform that action at this time.
0 commit comments