added a few services

This commit is contained in:
Andras Bacsai
2023-10-27 14:22:35 +02:00
parent 55891d7001
commit e3958d9626
5 changed files with 116 additions and 18 deletions

View File

@@ -7,7 +7,6 @@ services:
redis:
image: redis:6.2.4
command: redis-server --appendonly yes
container_name: kuzzle_redis
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 1s
@@ -16,7 +15,6 @@ services:
elasticsearch:
image: kuzzleio/elasticsearch:7
container_name: kuzzle_elasticsearch
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9200" ]
interval: 2s
@@ -36,7 +34,6 @@ services:
- kuzzle_server__protocols__mqtt__enabled=true
- kuzzle_server__protocols__mqtt__developmentMode=false
- kuzzle_limits__loginsPerSecond=50
# - NODE_ENV=${NODE_ENV:-development}
- NODE_ENV=production
# - DEBUG=${DEBUG:-kuzzle:*,-kuzzle:network:protocols:websocket,-kuzzle:events}
- DEBUG=${DEBUG:-kuzzle:cluster:sync}

View File

@@ -19,21 +19,19 @@ services:
moodle:
image: docker.io/bitnami/moodle:4.3
environment:
- SERVICE_FQDN_MOODLE
- MOODLE_DATABASE_HOST=mariadb
- MOODLE_DATABASE_PORT_NUMBER=3306
- MOODLE_DATABASE_USER=$SERVICE_USER_MARIADB
- MOODLE_DATABASE_NAME=bitnami_moodle
- MOODLE_DATABASE_PASSWORD=$SERVICE_PASSWORD_MARIADB
- ALLOW_EMPTY_PASSWORD=no
- SERVICE_FQDN_MOODLE_8080
- SERVICE_FQDN_MOODLE_8443
- MOODLE_USERNAME=$SERVICE_USER_MOODLE
- MOODLE_USERNAME=${MOODLE_USERNAME:-user}
- MOODLE_PASSWORD=$SERVICE_PASSWORD_MOODLE
- MOODLE_EMAIL=user@example.com
- MOODLE_SITE_NAME=${MOODLE_SITE_NAME:-New Site}
volumes:
- moodle_data:/bitnami/moodle
- moodledata_data:/bitnami/moodledata
- moodle-data:/bitnami/moodle
- moodledata-data:/bitnami/moodledata
depends_on:
- mariadb

View File

@@ -1,12 +1,12 @@
# ignore: true
# documentation: https://www.rabbitmq.com/documentation.html
# slogan: With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers
# slogan: With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers.
# tags: message broker, message queue, message-oriented middleware, MOM, AMQP, MQTT, STOMP, messaging
services:
rabbitmq:
image: rabbitmq:3.8-management
image: rabbitmq:3
environment:
- SERVICE_FQDN_RABBITMQ_15672
- SERVICE_FQDN_RABBITMQ_5672
- RABBITMQ_DEFAULT_USER=$SERVICE_USER_RABBITMQ
- RABBITMQ_DEFAULT_PASS=$SERVICE_PASSWORD_RABBITMQ

View File

@@ -1,3 +1,4 @@
# ignore: true
# documentation: https://hub.docker.com/_/sonarqube/
# slogan: SonarQube is a self-managed, automatic code review tool that systematically helps you deliver Clean Code
# tags: sonarqube, code-review, clean-code, quality, code-quality, code-analysis, code-smells, code-coverage, code-security
@@ -5,17 +6,17 @@
services:
sonarqube:
image: sonarqube:community
hostname: sonarqube
container_name: sonarqube
environment:
- SERVICE_FQDN_SONARQUBE_9000
- SONAR_JDBC_URL=jdbc:postgresql://postgresql:5432/${POSTGRES_DB:-sonar}
- SONAR_JDBC_USERNAME=$SERVICE_USER_POSTGRES
- SONAR_JDBC_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- SERVICE_FQDN_SONARQUBE_9000
volumes:
- sonarqube_data:/opt/sonarqube/data
- sonarqube_extensions:/opt/sonarqube/extensions
- sonarqube_logs:/opt/sonarqube/logs
- sonarqube-data:/opt/sonarqube
- sonarqube-conf:/opt/sonarqube/conf
- sonarqube-extensions:/opt/sonarqube/extensions
- sonarqube-logs:/opt/sonarqube/logs
- sonarqube-bundled-plugins:/opt/sonarqube/lib/bundled-plugins
depends_on:
postgresql:
condition: service_healthy