https://github.com/songrgg/spinnaker-compose
Run spinnaker cluster on local machine with docker-compose.
https://github.com/songrgg/spinnaker-compose
centos7 docker-compose spinnaker
Last synced: 9 months ago
JSON representation
Run spinnaker cluster on local machine with docker-compose.
- Host: GitHub
- URL: https://github.com/songrgg/spinnaker-compose
- Owner: songrgg
- License: mit
- Created: 2019-09-17T15:43:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-30T12:00:43.000Z (about 6 years ago)
- Last Synced: 2025-04-08T08:23:21.327Z (about 1 year ago)
- Topics: centos7, docker-compose, spinnaker
- Language: JavaScript
- Size: 10.7 KB
- Stars: 6
- Watchers: 1
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Run Spinnaker on bare metal
You can run spinnaker on CentOS by docker-compose.
## Quickstart
1. Provision a machine
At least 16GB memory and 4 cores, it may need more than this since my macbook pro(4cores, 16GB) was stuck when I started spinnaker.
```bash
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
git clone https://github.com/songrgg/spinnaker-compose
```
1. Start MySQL for front50 service
```bash
$ docker run -e MYSQL_ROOT_PASSWORD=spinnaker -p 3306:3306 -d mysql:5.6
25369ee31baf63f0e722fb8948ec67e04e9bad45582f4f2fa6b890aed25105d1
$ docker exec -i 25369ee31baf63f0e722fb8948ec67e04e9bad45582f4f2fa6b890aed25105d1 sh -c 'exec mysql -uroot --password=spinnaker' < sql/front50_mysql.sql
```
**Replace the `` in config/front50.yml.**
1. Start all services
```bash
cd spinnaker-compose
docker-compose up -d
```
## To access the spinnaker
Visit `http://localhost:9000` in browser if you run spinnaker on local machine.
Otherwise you can use ssh to create tunnel on local machine. Spinnaker exposes two ports, 9000 for web, 8084 for api gateway.
```bash
ssh -L 8084:localhost:8084
ssh -L 9000:localhost:9000
```
## Add clouddriver
You need to edit `config/clouddriver.yml` to open multiple clouddrivers, it's not easy to integrate since we don't have the `halyard` to do this stuff, but if you already have the clouddriver.yml, it's easier to make it work.
Since clouddriver will need credentials, you need to modify the `docker-compose.yml` to mount the credential files on the docker containers.