added configs for prod deployment
This commit is contained in:
parent
1887adf73b
commit
414a38631c
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
infrastructure: prod
|
||||||
|
conductor_workers_server: https://conductor.prod.d4science.org/api
|
|
@ -0,0 +1,5 @@
|
||||||
|
[prod_infra:children]
|
||||||
|
prod_cluster
|
||||||
|
|
||||||
|
[prod_cluster]
|
||||||
|
docker-swarm1.int.d4science.net docker_swarm_manager_main_node=True
|
|
@ -9,6 +9,14 @@ postgres_jdbc_pass: password
|
||||||
postgres_jdbc_db: conductor
|
postgres_jdbc_db: conductor
|
||||||
postgres_jdbc_url: jdbc:postgresql://{{ postgres_service_name }}:5432/{{ mysql_jdbc_db }}
|
postgres_jdbc_url: jdbc:postgresql://{{ postgres_service_name }}:5432/{{ mysql_jdbc_db }}
|
||||||
|
|
||||||
|
postgres_host_name: 'postgresql-srv.d4science.org'
|
||||||
|
postgres_replicas: 1
|
||||||
|
postgres_conductor_db: postgres
|
||||||
|
postgres_jdbc_user: conductor_u
|
||||||
|
postgres_jdbc_pass: c36dda661add7c2b5093087ddb655992
|
||||||
|
postgres_jdbc_db: conductor
|
||||||
|
postgres_jdbc_url: jdbc:postgresql://{{ postgres_service_name }}:5432/{{ mysql_jdbc_db }}
|
||||||
|
|
||||||
mysql_image_name: 'mariadb'
|
mysql_image_name: 'mariadb'
|
||||||
mysql_service_name: 'mysqldb'
|
mysql_service_name: 'mysqldb'
|
||||||
mysql_replicas: 1
|
mysql_replicas: 1
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Start es
|
- name: Start es
|
||||||
docker_stack:
|
docker_stack:
|
||||||
name: conductor-prod
|
name: "conductor-{{ infrastructure }}"
|
||||||
state: present
|
state: present
|
||||||
compose:
|
compose:
|
||||||
- "{{ target_path }}/elasticsearch-swarm.yaml"
|
- "{{ target_path }}/elasticsearch-swarm.yaml"
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
- name: Start conductor
|
- name: Start conductor
|
||||||
docker_stack:
|
docker_stack:
|
||||||
name: conductor-prod
|
name: "conductor-{{ infrastructure }}"
|
||||||
state: present
|
state: present
|
||||||
compose:
|
compose:
|
||||||
- "{{ target_path }}/conductor-swarm.yaml"
|
- "{{ target_path }}/conductor-swarm.yaml"
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
- name: Start workers
|
- name: Start workers
|
||||||
docker_stack:
|
docker_stack:
|
||||||
name: conductor-prod
|
name: "conductor-{{ infrastructure }}"
|
||||||
state: present
|
state: present
|
||||||
compose:
|
compose:
|
||||||
- "{{ target_path }}/conductor-workers-swarm.yaml"
|
- "{{ target_path }}/conductor-workers-swarm.yaml"
|
||||||
|
|
Loading…
Reference in New Issue