Building containers in deployment (#149)
* Build instead of up * Starting the service explicitly.
This commit is contained in:
parent
3e09fe890e
commit
8ea6c716ea
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Launch container
|
- name: Build the containers
|
||||||
shell: docker-compose up -d
|
shell: docker-compose build
|
||||||
args:
|
args:
|
||||||
chdir: "{{ bridge_path }}/monitor"
|
chdir: "{{ bridge_path }}/monitor"
|
||||||
|
@ -9,9 +9,12 @@
|
|||||||
owner: root
|
owner: root
|
||||||
mode: 755
|
mode: 755
|
||||||
|
|
||||||
- name: "Start/Enable the service"
|
- name: "Enable the service"
|
||||||
service:
|
service:
|
||||||
name: "tokenbridge-monitor"
|
name: "tokenbridge-monitor"
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
use: service
|
use: service
|
||||||
|
|
||||||
|
- name: Start the service
|
||||||
|
shell: service tokenbridge-monitor start
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Launch container
|
- name: Build the containers
|
||||||
shell: docker-compose up -d
|
shell: docker-compose build
|
||||||
args:
|
args:
|
||||||
chdir: "{{ bridge_path }}/oracle"
|
chdir: "{{ bridge_path }}/oracle"
|
||||||
|
@ -9,9 +9,12 @@
|
|||||||
owner: root
|
owner: root
|
||||||
mode: 755
|
mode: 755
|
||||||
|
|
||||||
- name: "Start/Enable poabridge service"
|
- name: "Enable the service"
|
||||||
service:
|
service:
|
||||||
name: "poabridge"
|
name: "poabridge"
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
use: service
|
use: service
|
||||||
|
|
||||||
|
- name: Start the service
|
||||||
|
shell: service poabridge start
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Launch container
|
- name: Build the containers
|
||||||
shell: docker-compose up -d
|
shell: docker-compose build
|
||||||
args:
|
args:
|
||||||
chdir: "{{ bridge_path }}/ui"
|
chdir: "{{ bridge_path }}/ui"
|
||||||
|
@ -9,9 +9,12 @@
|
|||||||
owner: root
|
owner: root
|
||||||
mode: 755
|
mode: 755
|
||||||
|
|
||||||
- name: "Start/Enable the service"
|
- name: "Enable the service"
|
||||||
service:
|
service:
|
||||||
name: "tokenbridge-ui"
|
name: "tokenbridge-ui"
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
use: service
|
use: service
|
||||||
|
|
||||||
|
- name: Start the service
|
||||||
|
shell: service tokenbridge-ui start
|
||||||
|
Loading…
Reference in New Issue
Block a user