Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FIRST_START
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Polaris
FIRST_START
Commits
fdc4e8fa
Commit
fdc4e8fa
authored
3 weeks ago
by
Benjamin Ledel
Browse files
Options
Downloads
Patches
Plain Diff
windows problems with volumes
parent
0330d202
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.env.sample
+1
-1
1 addition, 1 deletion
.env.sample
docker-compose.yml
+25
-10
25 additions, 10 deletions
docker-compose.yml
with
26 additions
and
11 deletions
.env.sample
+
1
−
1
View file @
fdc4e8fa
...
...
@@ -35,4 +35,4 @@ POSTGRES_PASSWORD=CHANGE_ME
SP_HOST=polaris.ruhr-uni-bochum.de
ANONYMIZATION_HASH_PREFIX=anon
ANONYMIZATION_DEFAULT_MINIMUM_COUNT=10
POLARIS_VERSION=v1.0.1-rc10
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
25
−
10
View file @
fdc4e8fa
services
:
# MONGO DB
# MONOG as LRS
mongodb_container
:
image
:
mongo:6
restart
:
always
...
...
@@ -9,7 +10,7 @@ services:
ports
:
-
27017:27017
volumes
:
-
./
mongodb_data:/data/db
-
mongodb_data:/data/db
# RIGHTS ENGINE
database
:
...
...
@@ -19,7 +20,13 @@ services:
MYSQL_ROOT_PASSWORD
:
${DB_PASSWORD}
MYSQL_DATABASE
:
polaris
volumes
:
-
./db:/var/lib/mysql
-
mariadb_data:/var/lib/mysql
healthcheck
:
test
:
[
"
CMD"
,
"
healthcheck.sh"
,
"
--connect"
,
"
--innodb_initialized"
]
interval
:
10s
timeout
:
5s
retries
:
5
start_period
:
15s
redis_db
:
image
:
redis:7-alpine
...
...
@@ -27,16 +34,19 @@ services:
command
:
redis-server --requirepass ${REDIS_PASSWORD}
rights-engine
:
image
:
registry.git.rwth-aachen.de/polaris/entwicklung/rights-engine/rights-engine:
latest
image
:
registry.git.rwth-aachen.de/polaris/entwicklung/rights-engine/rights-engine:
${POLARIS_VERSION}
restart
:
always
ports
:
-
8004:80
environment
:
-
CELERY_BROKER_URL=redis://:${REDIS_PASSWORD}@redis_db:6379
depends_on
:
-
database
-
redis_db
-
mongodb_container
database
:
condition
:
service_healthy
redis_db
:
condition
:
service_started
mongodb_container
:
condition
:
service_started
volumes
:
-
"
.env:/usr/src/app/backend/.env"
-
"
./id_rsa.pub:/usr/src/app/backend/id_rsa.pub"
...
...
@@ -44,7 +54,7 @@ services:
-
"
./data_disclosure_zips/:/usr/src/app/backend/data_disclosure_zips"
beat
:
image
:
registry.git.rwth-aachen.de/polaris/entwicklung/rights-engine/rights-engine:
latest
image
:
registry.git.rwth-aachen.de/polaris/entwicklung/rights-engine/rights-engine:
${POLARIS_VERSION}
restart
:
always
entrypoint
:
celery
command
:
-A backend beat -l info
...
...
@@ -60,7 +70,7 @@ services:
-
"
./id_rsa:/usr/src/app/backend/id_rsa"
worker
:
image
:
registry.git.rwth-aachen.de/polaris/entwicklung/rights-engine/rights-engine:
latest
image
:
registry.git.rwth-aachen.de/polaris/entwicklung/rights-engine/rights-engine:
${POLARIS_VERSION}
restart
:
always
entrypoint
:
celery
command
:
-A backend worker --loglevel=debug
...
...
@@ -86,7 +96,7 @@ services:
-
POSTGRES_USER=${POSTGRES_USER}
-
POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes
:
-
./
database_analytics
/production
:/var/lib/postgresql/data
-
database_analytics:/var/lib/postgresql/data
redis_db_anayltics
:
image
:
redis:7-alpine
...
...
@@ -141,3 +151,8 @@ services:
restart
:
always
ports
:
-
8005:80
volumes
:
mongodb_data
:
mariadb_data
:
database_analytics
:
\ No newline at end of file
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