From 3195963f9a00f9c04ef9e6aaf6ca932f3f4f9ff8 Mon Sep 17 00:00:00 2001 From: Pingu Carsti Date: Fri, 7 Jun 2024 15:24:43 +0200 Subject: [PATCH] make pywps.cfg configurable --- docker/.env | 3 +++ docker/pywps.cfg | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docker/.env b/docker/.env index f7a0f51..e6145fa 100644 --- a/docker/.env +++ b/docker/.env @@ -1,3 +1,6 @@ +# pywps +PYWPS_HOST=rook10.cloud.dkrz.de + # Path to local data pool DATA_PATH=../../mini-esgf-data/test_data/pool/data/c3s-cica-atlas diff --git a/docker/pywps.cfg b/docker/pywps.cfg index 9205d98..192f429 100644 --- a/docker/pywps.cfg +++ b/docker/pywps.cfg @@ -1,6 +1,9 @@ +[DEFAULT] +hostname=${PYWPS_HOST} + [server] -url=http://localhost/wps -outputurl=http://localhost/outputs +url=http://${hostname}/wps +outputurl=http://${hostname}/outputs outputpath=/mnt/outputs workdir=/tmp cleantempdir=true