Some checks failed
Mark & close stale issues / stale (push) Has been cancelled
Vulnerability Scan / trivy-scan (1.0) (push) Has been cancelled
Vulnerability Scan / trivy-scan (master) (push) Has been cancelled
CodeQL Advanced / Analyze (java-kotlin) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
#
|
|
# Copyright (c) 2018 Bosch Software Innovations GmbH and others
|
|
#
|
|
# This program and the accompanying materials are made
|
|
# available under the terms of the Eclipse Public License 2.0
|
|
# which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
#
|
|
# SPDX-License-Identifier: EPL-2.0
|
|
#
|
|
version: '3.7'
|
|
|
|
services:
|
|
# ---------------------
|
|
# Postgres service
|
|
# ---------------------
|
|
postgres:
|
|
image: "postgres:16"
|
|
ports:
|
|
- "5432:5432"
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
environment:
|
|
POSTGRES_DB: "hawkbit"
|
|
POSTGRES_USER: "postgres"
|
|
POSTGRES_PASSWORD: "admin"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB:-hawkbit} -U ${POSTGRES_USER:-postgres}"]
|
|
interval: 20s
|
|
retries: 10
|
|
|
|
# ---------------------
|
|
# RabbitMQ service
|
|
# ---------------------
|
|
rabbitmq:
|
|
image: "rabbitmq:management-alpine"
|
|
hostname: "rabbitmq"
|
|
environment:
|
|
RABBITMQ_DEFAULT_VHOST: "/"
|
|
RABBITMQ_DEFAULT_USER: "guest"
|
|
RABBITMQ_DEFAULT_PASS: "guest"
|
|
ports:
|
|
- "15672:15672"
|
|
- "5672:5672"
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|