An open API service indexing awesome lists of open source software.

https://github.com/dakalab/bootup

Use docker to boot up services, nginx/mysql/redis etc. Aim to facilitate local development and testing.
https://github.com/dakalab/bootup

devops docker docker-compose

Last synced: 2 days ago
JSON representation

Use docker to boot up services, nginx/mysql/redis etc. Aim to facilitate local development and testing.

Awesome Lists containing this project

README

          

# Bootup

[![Release](https://img.shields.io/github/release/dakalab/bootup.svg)](https://github.com/dakalab/bootup/releases)
[![License](https://img.shields.io/github/license/dakalab/bootup.svg)](https://github.com/dakalab/bootup)

Use docker to boot up services, nginx-proxy/mysql/redis etc. The aim of this project is to facilitate local development and testing, and demonstrate how to run famous services in container. DO NOT use it in production environment directly.

## Prerequisites

This project uses compose format version 3.7 which requires Docker Engine 18.06.0+ and docker-compose 1.22.0+.

## Getting started

All environment variables are defined in `.env`, make sure to change them to your own before booting up services.

If you just want to run in local machine for test purpose, no need to make any change.

If you want to change ports for exposing, you need to modify corresponding docker-compose files.

Before you boot up services, you need to pull git submodules:

```
make init
```

## Basic services

Boot up a specific service, e.g. `redis`:

```
make redis
```

Stop a specific service, e.g. `redis`:

```
make redis-down
```

## Adminer

Boot up adminer:

- add `127.0.0.1 adminer.local` to `/etc/hosts`
- run `make adminer`
- visit `http://adminer.local/`

## Consul

Boot up adminer:

- add `127.0.0.1 consul.local` to `/etc/hosts`
- run `make consul`
- visit `http://consul.local:8500/`

## Grafana

Boot up grafana:

- add `127.0.0.1 grafana.local` to `/etc/hosts`
- run `make grafana`
- visit `http://grafana.local`

Recommended dashboards:

- https://grafana.com/grafana/dashboards/9965
- https://grafana.com/grafana/dashboards/7362
- https://grafana.com/grafana/dashboards/893
- https://grafana.com/grafana/dashboards/1471
- https://grafana.com/grafana/dashboards/7249

## Jaeger

Boot up jaeger:

- add `127.0.0.1 jaeger.local` to `/etc/hosts`
- run `make jaeger`
- visit `http://jaeger.local/`

## kibana

Boot up kibana:

- add `127.0.0.1 kibana.local` to `/etc/hosts`
- run `make kibana`
- visit `http://kibana.local`

## phpMyAdmin

Boot up phpMyAdmin:

- add `127.0.0.1 phpmyadmin.local` to `/etc/hosts`
- run `make phpmyadmin`
- visit `http://phpmyadmin.local`

## Portainer

Boot up portainer:

- add `127.0.0.1 portainer.local` to `/etc/hosts`
- run `make portainer`
- visit `http://portainer.local`

## Prometheus

Boot up Prometheus:

- add `127.0.0.1 prometheus.local` to `/etc/hosts`
- edit `prometheus.yml` to customise the configs
- run `make prometheus`
- visit `http://prometheus.local`

## RabbitMQ

Boot up RabbitMQ:

- add `127.0.0.1 rabbitmq.local` to `/etc/hosts`
- run `make rabbitmq`
- visit `http://rabbitmq.local:15672` (admin/admin)

## Traefik

Boot up traefik:

- run `make traefik`
- visit `http://localhost:18080` to see its dashboard

## Vault

Boot up vault:

- add `127.0.0.1 vault.local` to `/etc/hosts`
- run `make vault`
- visit `http://vault.local/ui`

## XXL Job

Boot up xxl job:

- add `127.0.0.1 xxl-job-admin.local` to `/etc/hosts`
- run `make xxljob`
- visit `http://localhost:8088/xxl-job-admin/`, user name: admin, password: 123456

## Need help?

Just run

```
make help
```

## Components

- adminer v4.7
- apollo v1.8.0
- clickhouse v20.4
- consul v1.14.4
- dragonfly v1.0.0
- elasticsearch v7.5.0
- etcd v3.4.3
- geth v1.9.7
- filebeat v7.5.0
- goproxy v2.0.1
- grafana v6.5.2
- influxdb v1.7
- jaeger v1.16
- kibana v7.5.0
- logstash v7.5.0
- mariadb v10.4
- mongodb v4.2
- mysql v8.0
- nginx v1.17
- phpmyadmin v4.9
- portainer v1.23.0
- postgres v12
- prometheus v2.14.0
- rabbitmq v3.11.8-management
- redis v5.0
- traefik v2.1
- vault v1.3.0
- vsftpd v3.0
- xxl-job-admin v2.4.0