Added the PEP service.

This commit is contained in:
Andrea Dell'Amico 2022-02-22 19:06:31 +01:00
parent a8ab20bdfd
commit 16f55d3a2a
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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 }}

View File

@ -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) {