Files
hawkbit/hawkbit-runtime/docker/docker-compose.yml
Dominic Schabel a1be6e3e81 Update docker setup to hawkBit 0.2.3
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
2018-10-01 16:12:23 +02:00

58 lines
1.4 KiB
YAML

#
# Copyright (c) 2018 Bosch Software Innovations GmbH and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
version: '3'
services:
# ---------------------
# RabbitMQ service
# ---------------------
rabbitmq:
image: "rabbitmq:3-management"
environment:
RABBITMQ_DEFAULT_VHOST: "/"
restart: always
ports:
- "15672:15672"
- "5672:5672"
labels:
NAME: "rabbitmq"
# ---------------------
# MySQL service
# ---------------------
mysql:
image: "mysql:5.7"
environment:
MYSQL_DATABASE: "hawkbit"
MYSQL_USER: "root"
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
restart: always
ports:
- "3306:3306"
labels:
NAME: "mysql"
# ---------------------
# HawkBit service
# ---------------------
hawkbit:
image: "hawkbit/hawkbit-update-server:0.2.3-mysql"
environment:
- 'SPRING_DATASOURCE_URL=jdbc:mysql://mysql:3306/hawkbit'
- 'SPRING_RABBITMQ_HOST=rabbitmq'
- 'SPRING_RABBITMQ_USERNAME=guest'
- 'SPRING_RABBITMQ_PASSWORD=guest'
- 'SPRING_DATASOURCE_USERNAME=root'
restart: always
ports:
- "8080:8080"
labels:
NAME: "hawkbit"