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
de387f01
Commit
de387f01
authored
4 years ago
by
Mussab Abdalla
Browse files
Options
Downloads
Patches
Plain Diff
adding reports configurations to `dem` and `emg`
parent
cd4ffb85
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
core/registrar.py
+1
-1
1 addition, 1 deletion
core/registrar.py
docker-compose.dem.yml
+5
-0
5 additions, 0 deletions
docker-compose.dem.yml
docker-compose.emg.yml
+5
-0
5 additions, 0 deletions
docker-compose.emg.yml
env/dem.env
+1
-0
1 addition, 0 deletions
env/dem.env
env/emg.env
+1
-0
1 addition, 0 deletions
env/emg.env
with
13 additions
and
1 deletion
core/registrar.py
+
1
−
1
View file @
de387f01
...
...
@@ -257,7 +257,7 @@ def registrar(
timestamp
=
product
.
inserted
.
strftime
(
"
%Y%m%dT%H%M%S
"
)
if
reporting_dir
is
not
None
:
with
open
(
os
.
path
.
join
(
reporting_dir
,
'
item_%s_%s.xml
'
%
(
timestamp
,
product
.
identifier
)))
as
f
:
with
open
(
os
.
path
.
join
(
reporting_dir
,
'
item_%s_%s.xml
'
%
(
timestamp
,
product
.
identifier
))
,
'
w
'
)
as
f
:
f
.
write
(
textwrap
.
dedent
(
"""
<?xml version=
"
1.0
"
encoding=
"
UTF-8
"
?>
<DataAccessItem
...
...
This diff is collapsed.
Click to expand it.
docker-compose.dem.yml
+
5
−
0
View file @
de387f01
...
...
@@ -124,6 +124,9 @@ services:
-
type
:
volume
source
:
instance-data
target
:
/var/www/pvs
-
type
:
volume
source
:
report-data
target
:
/mnt/reports/
env_file
:
-
env/dem.env
-
env/dem_db.env
...
...
@@ -138,6 +141,7 @@ services:
INIT_SCRIPTS
:
"
/configure.sh
/init-db.sh
/initialized.sh"
STARTUP_SCRIPTS
:
"
/wait-initialized.sh"
WAIT_SERVICES
:
"
redis:6379
database:5432"
REPORTING_DIR
:
'
/mnt/reports/'
configs
:
-
source
:
init-db
target
:
/init-db.sh
...
...
@@ -167,5 +171,6 @@ volumes:
redis-data
:
cache-db
:
instance-data
:
report-data
:
networks
:
intnet
:
This diff is collapsed.
Click to expand it.
docker-compose.emg.yml
+
5
−
0
View file @
de387f01
...
...
@@ -124,6 +124,9 @@ services:
-
type
:
volume
source
:
instance-data
target
:
/var/www/pvs
-
type
:
volume
source
:
report-data
target
:
/mnt/reports/
env_file
:
-
env/emg.env
-
env/emg_db.env
...
...
@@ -138,6 +141,7 @@ services:
INIT_SCRIPTS
:
"
/configure.sh
/init-db.sh
/initialized.sh"
STARTUP_SCRIPTS
:
"
/wait-initialized.sh"
WAIT_SERVICES
:
"
redis:6379
database:5432"
REPORTING_DIR
:
'
/mnt/reports/'
configs
:
-
source
:
init-db
target
:
/init-db.sh
...
...
@@ -167,5 +171,6 @@ volumes:
redis-data
:
cache-db
:
instance-data
:
report-data
:
networks
:
intnet
:
This diff is collapsed.
Click to expand it.
env/dem.env
+
1
−
0
View file @
de387f01
...
...
@@ -3,3 +3,4 @@ UPLOAD_CONTAINER=dem-data
GDAL_DISABLE_READDIR_ON_OPEN=TRUE
CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.TIF,.tif,.xml
SERVICE_URL=dem.pass.copernicus.eu
This diff is collapsed.
Click to expand it.
env/emg.env
+
1
−
0
View file @
de387f01
...
...
@@ -3,3 +3,4 @@ UPLOAD_CONTAINER=emg-data
GDAL_DISABLE_READDIR_ON_OPEN=TRUE
CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.TIF,.tif,.xml
SERVICE_URL=emg.pass.copernicus.eu
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