EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 3f912d5e authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

update emg ops docker compose yaml with newest updates

parent 2175813b
No related branches found
No related tags found
No related merge requests found
......@@ -12,23 +12,23 @@ services:
deploy:
labels:
# router for basic auth based access (https)
- "traefik.http.routers.emg-renderer.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`)"
- "traefik.http.routers.emg-renderer.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`)"
- "traefik.http.routers.emg-renderer.middlewares=auth@file,compress@file"
- "traefik.http.routers.emg-renderer.tls=true"
- "traefik.http.routers.emg-renderer.tls.certresolver=default"
- "traefik.http.routers.emg-renderer.entrypoints=https"
# router for basic auth based access (http)
- "traefik.http.routers.emg-renderer-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`)"
- "traefik.http.routers.emg-renderer-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`)"
- "traefik.http.routers.emg-renderer-redirect.middlewares=redirect@file"
- "traefik.http.routers.emg-renderer-redirect.entrypoints=http"
# router for referrer based access (https)
- "traefik.http.routers.emg-renderer_referer.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|emg.pvs.prism.eox.at)/?`)"
- "traefik.http.routers.emg-renderer_referer.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`) && HeadersRegexp(`Referer`, `https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|panda-demo.copernicus.eu|cdsportal-demo.copernicus.eu|ocqc-demo.copernicus.eu|emg.pvs.prism.eox.at|emg.pdas.prism.eox.at|emg.pass.copernicus.eu)/?"
- "traefik.http.routers.emg-renderer_referer.middlewares=compress@file"
- "traefik.http.routers.emg-renderer_referer.tls=true"
- "traefik.http.routers.emg-renderer_referer.tls.certresolver=default"
- "traefik.http.routers.emg-renderer_referer.entrypoints=https"
# router for referrer based access (http)
- "traefik.http.routers.emg-renderer_referer-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|emg.pvs.prism.eox.at)/?`)"
- "traefik.http.routers.emg-renderer_referer-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`) && PathPrefix(`/ows`, `/opensearch`, `/admin`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|panda-demo.copernicus.eu|cdsportal-demo.copernicus.eu|ocqc-demo.copernicus.eu|emg.pvs.prism.eox.at|emg.pdas.prism.eox.at|emg.pass.copernicus.eu)/?`)"
- "traefik.http.routers.emg-renderer_referer-redirect.middlewares=redirect@file"
- "traefik.http.routers.emg-renderer_referer-redirect.entrypoints=http"
# general
......@@ -37,9 +37,10 @@ services:
- "traefik.docker.network=emg-extnet"
- "traefik.docker.lbswarm=true"
- "traefik.enable=true"
replicas: 3
resources:
limits:
memory: 12G #TODO 4G ended up with many processes in D state, supposedly because of swapping
memory: 8G
networks:
- extnet
cache:
......@@ -50,23 +51,23 @@ services:
labels:
- "traefik.http.middlewares.cache-stripprefix.stripprefix.prefixes=/cache"
# router for basic auth based access (https)
- "traefik.http.routers.emg-cache.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/cache`)"
- "traefik.http.routers.emg-cache.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`, `emg.pass.copernicus.eu`, `a.emg.pass.copernicus.eu`, `b.emg.pass.copernicus.eu`, `c.emg.pass.copernicus.eu`, `d.emg.pass.copernicus.eu`, `e.emg.pass.copernicus.eu`, `f.emg.pass.copernicus.eu`, `g.emg.pass.copernicus.eu`, `h.emg.pass.copernicus.eu`) && PathPrefix(`/cache`)"
- "traefik.http.routers.emg-cache.middlewares=auth@file,cache-stripprefix,compress@file"
- "traefik.http.routers.emg-cache.tls=true"
- "traefik.http.routers.emg-cache.tls.certresolver=default"
- "traefik.http.routers.emg-cache.entrypoints=https"
# router for basic auth based access (http)
- "traefik.http.routers.emg-cache-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/cache`)"
- "traefik.http.routers.emg-cache-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`, `emg.pass.copernicus.eu`, `a.emg.pass.copernicus.eu`, `b.emg.pass.copernicus.eu`, `c.emg.pass.copernicus.eu`, `d.emg.pass.copernicus.eu`, `e.emg.pass.copernicus.eu`, `f.emg.pass.copernicus.eu`, `g.emg.pass.copernicus.eu`, `h.emg.pass.copernicus.eu`) && PathPrefix(`/cache`)"
- "traefik.http.routers.emg-cache-redirect.middlewares=redirect@file"
- "traefik.http.routers.emg-cache-redirect.entrypoints=http"
# router for referrer based access (https)
- "traefik.http.routers.emg-cache_referer.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/cache`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|emg.pvs.prism.eox.at)/?`)"
- "traefik.http.routers.emg-cache_referer.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`, `emg.pass.copernicus.eu`, `a.emg.pass.copernicus.eu`, `b.emg.pass.copernicus.eu`, `c.emg.pass.copernicus.eu`, `d.emg.pass.copernicus.eu`, `e.emg.pass.copernicus.eu`, `f.emg.pass.copernicus.eu`, `g.emg.pass.copernicus.eu`, `h.emg.pass.copernicus.eu`) && PathPrefix(`/cache`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|panda-demo.copernicus.eu|cdsportal-demo.copernicus.eu|ocqc-demo.copernicus.eu|emg.pvs.prism.eox.at|emg.pdas.prism.eox.at|emg.pass.copernicus.eu)/?`)"
- "traefik.http.routers.emg-cache_referer.middlewares=cache-stripprefix,compress@file"
- "traefik.http.routers.emg-cache_referer.tls=true"
- "traefik.http.routers.emg-cache_referer.tls.certresolver=default"
- "traefik.http.routers.emg-cache_referer.entrypoints=https"
# router for referrer based access (http)
- "traefik.http.routers.emg-cache_referer-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`) && PathPrefix(`/cache`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|emg.pvs.prism.eox.at)/?`)"
- "traefik.http.routers.emg-cache_referer-redirect.rule=Host(`emg.pvs.prism.eox.at`, `a.emg.pvs.prism.eox.at`, `b.emg.pvs.prism.eox.at`, `c.emg.pvs.prism.eox.at`, `d.emg.pvs.prism.eox.at`, `e.emg.pvs.prism.eox.at`, `f.emg.pvs.prism.eox.at`, `g.emg.pvs.prism.eox.at`, `h.emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`, `a.emg.pdas.prism.eox.at`, `b.emg.pdas.prism.eox.at`, `c.emg.pdas.prism.eox.at`, `d.emg.pdas.prism.eox.at`, `e.emg.pdas.prism.eox.at`, `f.emg.pdas.prism.eox.at`, `g.emg.pdas.prism.eox.at`, `h.emg.pdas.prism.eox.at`, `emg.pass.copernicus.eu`, `a.emg.pass.copernicus.eu`, `b.emg.pass.copernicus.eu`, `c.emg.pass.copernicus.eu`, `d.emg.pass.copernicus.eu`, `e.emg.pass.copernicus.eu`, `f.emg.pass.copernicus.eu`, `g.emg.pass.copernicus.eu`, `h.emg.pass.copernicus.eu`) && PathPrefix(`/cache`) && HeadersRegexp(`Referer`, `(https?://)?(panda.copernicus.eu|panda.cdsv3.eu|panda-demo.ondaprism.eu|panda-demo.copernicus.eu|cdsportal-demo.copernicus.eu|ocqc-demo.copernicus.eu|emg.pvs.prism.eox.at|emg.pdas.prism.eox.at|emg.pass.copernicus.eu)/?`)"
- "traefik.http.routers.emg-cache_referer-redirect.middlewares=redirect@file"
- "traefik.http.routers.emg-cache_referer-redirect.entrypoints=http"
# general
......@@ -75,6 +76,10 @@ services:
- "traefik.docker.network=emg-extnet"
- "traefik.docker.lbswarm=true"
- "traefik.enable=true"
replicas: 3
resources:
limits:
memory: 8G
networks:
- extnet
registrar:
......@@ -87,13 +92,13 @@ services:
deploy:
labels:
# router for basic auth based access (https)
- "traefik.http.routers.emg-client.rule=Host(`emg.pvs.prism.eox.at`)"
- "traefik.http.routers.emg-client.rule=Host(`emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`)"
- "traefik.http.routers.emg-client.middlewares=auth@file,compress@file"
- "traefik.http.routers.emg-client.tls=true"
- "traefik.http.routers.emg-client.tls.certresolver=default"
- "traefik.http.routers.emg-client.entrypoints=https"
# router for basic auth based access (http)
- "traefik.http.routers.emg-client-redirect.rule=Host(`emg.pvs.prism.eox.at`)"
- "traefik.http.routers.emg-client-redirect.rule=Host(`emg.pvs.prism.eox.at`, `emg.pdas.prism.eox.at`)"
- "traefik.http.routers.emg-client-redirect.middlewares=redirect@file"
- "traefik.http.routers.emg-client-redirect.entrypoints=http"
# general
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment