EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
24c8bffd
Commit
24c8bffd
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
new test
parent
9e879ebd
No related branches found
No related tags found
2 merge requests
!36
Staging to master to prepare 1.0.0 release
,
!34
Shib auth
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.emg.ops_test.yml
+147
-0
147 additions, 0 deletions
docker-compose.emg.ops_test.yml
with
147 additions
and
0 deletions
docker-compose.emg.ops_test.yml
0 → 100644
+
147
−
0
View file @
24c8bffd
version
:
"
3.6"
services
:
database
:
volumes
:
-
type
:
tmpfs
target
:
/dev/shm
tmpfs
:
size
:
536870912
renderer
:
environment
:
INSTALL_DIR
:
"
/var/www/pvs/ops/"
INSTANCE_DIR
:
"
/var/www/pvs/ops/pvs_instance/"
deploy
:
labels
:
# router for basic auth based access (https)
-
"
traefik.http.routers.emg-renderer.rule=Host(`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(`/ows`,
`/opensearch`,
`/admin`)"
-
"
traefik.http.routers.emg-renderer.middlewares=auth@file,compress@file,cors@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.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(`/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.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(`/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.pdas.prism.eox.at|emg.pass.copernicus.eu)/?`)"
-
"
traefik.http.routers.emg-renderer_referer.middlewares=compress@file,cors@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.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(`/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.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
-
"
traefik.http.services.emg-renderer.loadbalancer.sticky=false"
-
"
traefik.http.services.emg-renderer.loadbalancer.server.port=80"
-
"
traefik.docker.network=emg-extnet"
-
"
traefik.docker.lbswarm=true"
-
"
traefik.enable=true"
replicas
:
0
resources
:
limits
:
memory
:
8G
placement
:
constraints
:
-
node.labels.type == external
networks
:
-
extnet
cache
:
configs
:
-
source
:
mapcache-ops
target
:
/mapcache-template.xml
deploy
:
labels
:
-
"
traefik.http.middlewares.cache-stripprefix.stripprefix.prefixes=/cache"
# router for basic auth based access (https)
-
"
traefik.http.routers.emg-cache.rule=Host(`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=shibAuth@file,cache-stripprefix,compress@file,cors@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.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.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.pdas.prism.eox.at|emg.pass.copernicus.eu)/?`)"
-
"
traefik.http.routers.emg-cache_referer.middlewares=cache-stripprefix,compress@file,cors@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.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.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
-
"
traefik.http.services.emg-cache.loadbalancer.sticky=false"
-
"
traefik.http.services.emg-cache.loadbalancer.server.port=80"
-
"
traefik.docker.network=emg-extnet"
-
"
traefik.docker.lbswarm=true"
-
"
traefik.enable=true"
replicas
:
0
resources
:
limits
:
memory
:
8G
placement
:
constraints
:
-
node.labels.type == external
networks
:
-
extnet
registrar
:
environment
:
INSTALL_DIR
:
"
/var/www/pvs/ops/"
INSTANCE_DIR
:
"
/var/www/pvs/ops/pvs_instance/"
deploy
:
replicas
:
0
placement
:
constraints
:
-
node.labels.type == internal
client
:
configs
:
-
source
:
client-ops
target
:
/usr/share/nginx/html/index.html
deploy
:
labels
:
# router for basic auth based access (https)
-
"
traefik.http.routers.emg-client.rule=Host(`emg.pdas.prism.eox.at`,
`emg.pass.copernicus.eu`)"
-
"
traefik.http.routers.emg-client.middlewares=shibAuth@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.pdas.prism.eox.at`,
`emg.pass.copernicus.eu`)"
-
"
traefik.http.routers.emg-client-redirect.middlewares=redirect@file"
-
"
traefik.http.routers.emg-client-redirect.entrypoints=http"
# general
-
"
traefik.http.services.emg-client.loadbalancer.sticky=false"
-
"
traefik.http.services.emg-client.loadbalancer.server.port=80"
-
"
traefik.docker.network=emg-extnet"
-
"
traefik.docker.lbswarm=true"
-
"
traefik.enable=true"
placement
:
constraints
:
-
node.labels.type == external
networks
:
-
extnet
preprocessor
:
volumes
:
-
type
:
bind
source
:
/var/vhr
target
:
/tmp
deploy
:
replicas
:
0
placement
:
constraints
:
-
node.labels.type == internal
sftp
:
deploy
:
replicas
:
0
ingestor
:
deploy
:
replicas
:
0
networks
:
extnet
:
name
:
emg-extnet
external
:
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment