Added the PEP service.
This commit is contained in:
parent
a8ab20bdfd
commit
16f55d3a2a
|
@ -14,6 +14,6 @@ sobigdata_rel_service_host: 'localhost'
|
||||||
sobigdata_rel_pep: True
|
sobigdata_rel_pep: True
|
||||||
pep_port: 80
|
pep_port: 80
|
||||||
pep_replicas: 1
|
pep_replicas: 1
|
||||||
nginx_pep_debug_enabled: False
|
nginx_pep_debug_enabled: 'false'
|
||||||
nginx_pep_max_body_size: 500M
|
nginx_pep_max_body_size: 500M
|
||||||
nginx_pep_body_timeout: 60s
|
nginx_pep_body_timeout: 60s
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
name: '{{ sobigdata_rel_docker_stack_name }}'
|
name: '{{ sobigdata_rel_docker_stack_name }}'
|
||||||
state: present
|
state: present
|
||||||
compose:
|
compose:
|
||||||
- '{{ inception_project_compose_dir }}/sobigdata-rel-docker-compose.yml'
|
- '{{ sobigdata_rel_compose_dir }}/sobigdata-rel-docker-compose.yml'
|
||||||
|
|
||||||
run_once: True
|
run_once: True
|
||||||
when: docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node | bool
|
when: docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node | bool
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3.6'
|
version: '3.6'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pep:
|
pep-rel:
|
||||||
image: nginx:stable-alpine
|
image: nginx:stable-alpine
|
||||||
networks:
|
networks:
|
||||||
- {{ sobigdata_rel_docker_network }}
|
- {{ sobigdata_rel_docker_network }}
|
||||||
|
|
|
@ -5,7 +5,7 @@ function log(c, s){
|
||||||
}
|
}
|
||||||
|
|
||||||
function debug(c, s){
|
function debug(c, s){
|
||||||
return true ? c.request.error(s) : null
|
return {{ nginx_pep_debug_enabled }} ? c.request.error(s) : null
|
||||||
}
|
}
|
||||||
|
|
||||||
function enforce(r) {
|
function enforce(r) {
|
||||||
|
|
Loading…
Reference in New Issue