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
61c3b0db
Commit
61c3b0db
authored
2 years ago
by
Max Lou
Browse files
Options
Downloads
Patches
Plain Diff
Setting restart to always
parent
e4567fc3
No related branches found
No related tags found
No related merge requests found
Pipeline
#919248
failed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
single-compose/docker-compose.yml
+11
-11
11 additions, 11 deletions
single-compose/docker-compose.yml
with
11 additions
and
11 deletions
single-compose/docker-compose.yml
+
11
−
11
View file @
61c3b0db
...
...
@@ -2,7 +2,7 @@ services:
# MONGO DB
mongodb_container
:
image
:
mongo:6
restart
:
unless-stopped
restart
:
always
environment
:
MONGO_INITDB_ROOT_USERNAME
:
${MONGO_USER}
MONGO_INITDB_ROOT_PASSWORD
:
${MONGO_PASSWORT}
...
...
@@ -14,7 +14,7 @@ services:
# RIGHTS ENGINE
database
:
image
:
mariadb:10.6
restart
:
unless-stopped
restart
:
always
environment
:
MYSQL_ROOT_PASSWORD
:
${DB_PASSWORD}
MYSQL_DATABASE
:
polaris
...
...
@@ -23,12 +23,12 @@ services:
redis_db
:
image
:
redis:7-alpine
restart
:
unless-stopped
restart
:
always
command
:
redis-server --requirepass ${REDIS_PASSWORD}
rights-engine
:
image
:
registry.digitallearning.gmbh/polaris/rights-engine/rights-engine:latest
restart
:
unless-stopped
restart
:
always
ports
:
-
8004:80
environment
:
...
...
@@ -45,7 +45,7 @@ services:
beat
:
image
:
registry.digitallearning.gmbh/polaris/rights-engine/rights-engine:latest
restart
:
unless-stopped
restart
:
always
entrypoint
:
celery
command
:
-A backend beat -l info
environment
:
...
...
@@ -61,7 +61,7 @@ services:
worker
:
image
:
registry.digitallearning.gmbh/polaris/rights-engine/rights-engine:latest
restart
:
unless-stopped
restart
:
always
entrypoint
:
celery
command
:
-A backend worker --loglevel=debug
environment
:
...
...
@@ -80,7 +80,7 @@ services:
# Analytics Engine
database_analytics
:
image
:
postgres:15.1-alpine
restart
:
unless-stopped
restart
:
always
environment
:
-
POSTGRES_DB=${POSTGRES_DATABASE}
-
POSTGRES_USER=${POSTGRES_USER}
...
...
@@ -90,12 +90,12 @@ services:
redis_db_anayltics
:
image
:
redis:7-alpine
restart
:
unless-stopped
restart
:
always
command
:
redis-server --requirepass ${REDIS_PASSWORD}
scheduler
:
image
:
registry.digitallearning.gmbh/polaris/analytics-engine/scheduler:latest
restart
:
unless-stopped
restart
:
always
ports
:
-
8000:8000
environment
:
...
...
@@ -109,7 +109,7 @@ services:
beat_analytics
:
image
:
registry.digitallearning.gmbh/polaris/analytics-engine/scheduler:latest
restart
:
unless-stopped
restart
:
always
entrypoint
:
celery
command
:
-A scheduler.worker beat -l info --scheduler celery_sqlalchemy_scheduler.schedulers:DatabaseScheduler
environment
:
...
...
@@ -123,7 +123,7 @@ services:
worker_analytics
:
image
:
registry.digitallearning.gmbh/polaris/analytics-engine/scheduler:latest
restart
:
unless-stopped
restart
:
always
entrypoint
:
celery
command
:
-A scheduler.worker worker -l info
environment
:
...
...
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