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
2ff1a7df
Commit
2ff1a7df
authored
2 years ago
by
Benjamin Ledel
Browse files
Options
Downloads
Patches
Plain Diff
docker compose locla
parent
f5e94c74
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analytics-engine/docker-compose.yml.local
+72
-0
72 additions, 0 deletions
analytics-engine/docker-compose.yml.local
with
72 additions
and
0 deletions
analytics-engine/docker-compose.yml.local
0 → 100644
+
72
−
0
View file @
2ff1a7df
services:
database:
image: postgres:15.1-alpine
restart: unless-stopped
environment:
- POSTGRES_DB=${POSTGRES_DATABASE}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- ./db/production:/var/lib/postgresql/data
networks:
- internal
redis_db:
image: redis:7-alpine
restart: unless-stopped
command: redis-server --requirepass ${REDIS_PASSWORD}
networks:
- internal
scheduler:
image: registry.digitallearning.gmbh/polaris/analytics-engine/scheduler:latest
restart: unless-stopped
expose:
- 8000
ports:
- 8000:8000
networks:
- internal
- web
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
beat:
image: registry.digitallearning.gmbh/polaris/analytics-engine/scheduler:latest
restart: unless-stopped
entrypoint: celery
command: -A scheduler.worker beat -l info --scheduler celery_sqlalchemy_scheduler.schedulers:DatabaseScheduler
networks:
- internal
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
worker:
image: registry.digitallearning.gmbh/polaris/analytics-engine/scheduler:latest
restart: unless-stopped
entrypoint: celery
command: -A scheduler.worker worker -l info
networks:
- internal
depends_on:
- database
- redis_db
- beat
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
networks:
web:
external: true
internal:
external: false
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