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
|
||||
shell: docker-compose up -d
|
||||
- name: Build the containers
|
||||
shell: docker-compose build
|
||||
args:
|
||||
chdir: "{{ bridge_path }}/monitor"
|
||||
|
@ -9,9 +9,12 @@
|
||||
owner: root
|
||||
mode: 755
|
||||
|
||||
- name: "Start/Enable the service"
|
||||
- name: "Enable the service"
|
||||
service:
|
||||
name: "tokenbridge-monitor"
|
||||
state: started
|
||||
enabled: yes
|
||||
use: service
|
||||
|
||||
- name: Start the service
|
||||
shell: service tokenbridge-monitor start
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: Launch container
|
||||
shell: docker-compose up -d
|
||||
- name: Build the containers
|
||||
shell: docker-compose build
|
||||
args:
|
||||
chdir: "{{ bridge_path }}/oracle"
|
||||
|
@ -9,9 +9,12 @@
|
||||
owner: root
|
||||
mode: 755
|
||||
|
||||
- name: "Start/Enable poabridge service"
|
||||
- name: "Enable the service"
|
||||
service:
|
||||
name: "poabridge"
|
||||
state: started
|
||||
enabled: yes
|
||||
use: service
|
||||
|
||||
- name: Start the service
|
||||
shell: service poabridge start
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: Launch container
|
||||
shell: docker-compose up -d
|
||||
- name: Build the containers
|
||||
shell: docker-compose build
|
||||
args:
|
||||
chdir: "{{ bridge_path }}/ui"
|
||||
|
@ -9,9 +9,12 @@
|
||||
owner: root
|
||||
mode: 755
|
||||
|
||||
- name: "Start/Enable the service"
|
||||
- name: "Enable the service"
|
||||
service:
|
||||
name: "tokenbridge-ui"
|
||||
state: started
|
||||
enabled: yes
|
||||
use: service
|
||||
|
||||
- name: Start the service
|
||||
shell: service tokenbridge-ui start
|
||||
|
Loading…
Reference in New Issue
Block a user