EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vs-starter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Data Handling
vs-starter
Commits
1f77c291
Commit
1f77c291
authored
1 year ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
Revert "adapt init scripts"
This reverts commit
a430d428
.
parent
a430d428
No related branches found
No related tags found
1 merge request
!6
Introduce database synchronization from the VS
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vs_starter/templates/docker-compose.yml
+8
-6
8 additions, 6 deletions
vs_starter/templates/docker-compose.yml
with
8 additions
and
6 deletions
vs_starter/templates/docker-compose.yml
+
8
−
6
View file @
1f77c291
...
...
@@ -44,7 +44,7 @@ services:
environment
:
INSTALL_DIR
:
"
/var/www/pvs/"
INSTANCE_DIR
:
"
/var/www/pvs/pvs_instance/"
INIT_SCRIPTS
:
"
/opt/core/configure.sh
/opt/core/
database_synchronize.py
/opt/core/initialized.sh"
INIT_SCRIPTS
:
"
/opt/core/configure.sh
/opt/core/
init-db.sh
/opt/core/initialized.sh"
STARTUP_SCRIPTS
:
"
/opt/core/wait-initialized.sh"
WAIT_SERVICES
:
"
database:5432"
WAIT_TIMEOUT
:
180
...
...
@@ -54,8 +54,8 @@ services:
WORKER_TIMEOUT
:
3600
ENABLE_HTTP_ACCESS
:
"
true"
configs
:
-
source
:
db-config
target
:
/opt/core/
db-config.yaml
-
source
:
init-db
target
:
/opt/core/
init-db.sh
deploy
:
replicas
:
{{
service_configs
[
'
renderer'
][
'
replicas'
]
}}
logging
:
...
...
@@ -128,7 +128,7 @@ services:
environment
:
INSTALL_DIR
:
"
/var/www/pvs/"
INSTANCE_DIR
:
"
/var/www/pvs/pvs_instance/"
INIT_SCRIPTS
:
"
/opt/core/configure.sh
/opt/core/initialized.sh"
INIT_SCRIPTS
:
"
/opt/core/configure.sh
/opt/core/init-db.sh
/opt/core/initialized.sh"
STARTUP_SCRIPTS
:
"
/opt/core/wait-initialized.sh"
WAIT_SERVICES
:
"
redis:6379
database:5432"
WAIT_TIMEOUT
:
180
...
...
@@ -136,6 +136,8 @@ services:
DJANGO_SECRET_KEY_FILE
:
"
/run/secrets/DJANGO_SECRET_KEY"
GDAL_DISABLE_READDIR_ON_OPEN
:
"
EMPTY_DIR"
configs
:
- source
:
init-db
target
:
/opt/core/init-db.sh
- source
:
registrar-config
target
:
/config.yaml
deploy
:
...
...
@@ -208,8 +210,8 @@ services:
replicas
:
{{
service_configs
[
'
seeder'
][
'
replicas'
]
}}
configs
:
db-config
:
file
:
./config/
db-config.yaml
init-db
:
file
:
./config/
init-db.sh
mapcache-config
:
file
:
./config/mapcache.xml
client-config
:
...
...
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