Skip to content
Snippets Groups Projects
Commit 56958a96 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

remove old unworking folders

parent 40065714
Branches before_cleanup
No related tags found
No related merge requests found
Pipeline #1644439 failed
Showing
with 0 additions and 263 deletions
File moved
{
"CurrentProjectSetting": null
}
\ No newline at end of file
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
\ No newline at end of file
File deleted
File deleted
{
"Version": 1,
"WorkspaceRootPath": "E:\\polaris\\deployment\\",
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": []
}
]
}
\ No newline at end of file
File deleted
DYNACONF_SQLALCHEMY_DATABASE_URI=postgresql://postgres:CHANGE_ME@database/analytics-engine # the password should match with POSTGRES_PASSWORD
DYNACONF_CELERY_BROKER_URL=redis://:CHANGE_ME@redis_db:6379/0 # the password should match with the REDIS_PASSWORD
DYNACONF_CELERY_RESULT_BACKEND=redis://:CHANGE_ME@redis_db:6379/1 # the password should match with the REDIS_PASSWORD
DYNACONF_ANALYTICS_BACKEND_URL=http://scheduler:5000 # no changes needed
DYNACONF_RIGHTS_ENGINE_BACKEND_URL=http://localhost:80/ # url of the rights engine
WEBSITE=analytics # traefik configuration
URL=$DEPLOYMENT_URL # traefik configuration
REDIS_PASSWORD=CHANGE_ME
POSTGRES_USER=postgres
POSTGRES_DATABASE=analytics-engine
POSTGRES_PASSWORD=CHANGE_ME
UID=0
GID=0
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
redis_db:
image: redis:7-alpine
restart: unless-stopped
command: redis-server --requirepass ${REDIS_PASSWORD}
scheduler:
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
ports:
- 8000:8000
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
beat:
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
entrypoint: celery
command: -A scheduler.worker beat -l info --scheduler celery_sqlalchemy_scheduler.schedulers:DatabaseScheduler
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
worker:
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
entrypoint: celery
command: -A scheduler.worker worker -l info
depends_on:
- database
- redis_db
- beat
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
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:
user: "${UID}:${GID}"
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
expose:
- 8000
labels:
- traefik.enable=true
- traefik.http.routers.${WEBSITE}-backend.rule=Host(`${URL}` && PathPrefix(`/api`))
- traefik.http.routers.${WEBSITE}-backend.tls=true
- traefik.http.routers.${WEBSITE}-backend.tls.certresolver=lets-encrypt
#- traefik.http.routers.${WEBSITE}.middlewares=security-headers@file
networks:
- internal
- web
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
beat:
user: "${UID}:${GID}"
image: registry.git.rwth-aachen.de/polaris/entwicklung/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:
user: "${UID}:${GID}"
image: registry.git.rwth-aachen.de/polaris/entwicklung/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
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.git.rwth-aachen.de/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.git.rwth-aachen.de/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.git.rwth-aachen.de/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
File moved
MONGO_USER=root
MONGO_PASSWORT=CHANGE_ME
\ No newline at end of file
version: '3.7'
services:
mongodb_container:
image: mongo:6
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORT}
ports:
- 27017:27017
volumes:
- ./mongodb_data:/data/db
MOODLE_DB_NAME=moodle
MOODLE_DB_USER=moodle
MOODLE_MYSQL_USER=moodle
MOODLE_DB_PASSWORD=4T6F9FWsBzILLA5SY83t
MOODLE_URL=polaris-moodle.educacloud.de
MOODLE_ADMIN_USER=admin
MOODLE_ADMIN_PASSWORD=mBDL5S260gQEF3fAZQJ7
MOODLE_ADMIN_EMAIL=support@digitallearning.gmbh
MOODLE_SITE_NAME=Moodle
MOODLE_DATABASE_PASSWORD=4T6F9FWsBzILLA5SY83t
WEBSITE=
MOODLE_MAIL_HOST=
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment