https://github.com/orange-cloudfoundry/credhub-docker
Docker image for credhub (include a docker-compose file to run with uaa)
https://github.com/orange-cloudfoundry/credhub-docker
Last synced: 3 months ago
JSON representation
Docker image for credhub (include a docker-compose file to run with uaa)
- Host: GitHub
- URL: https://github.com/orange-cloudfoundry/credhub-docker
- Owner: orange-cloudfoundry
- Created: 2018-05-06T17:09:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-06T17:09:37.000Z (about 8 years ago)
- Last Synced: 2025-09-17T10:02:19.937Z (9 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 11
- Watchers: 5
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Credhub-docker
Docker image for credhub (include a docker-compose file to run with uaa).
## Run without UAA
```bash
docker run -d -p 127.0.0.1:9000:9000 orangeopensource/credhub:latest
```
## Run with UAA
You will need a config file for UAA which can be found [here](/docker-compose/config/uaa.yml).
1. Start a UAA with Docker: `docker run -d --name uaa --mount type=bind,source=$PWD/docker-compose/config/uaa.yml,target=/uaa/uaa.yml -p 127.0.0.1:8080:8080 pcfseceng/uaa:latest`
2. Start credhub with docker with binding uaa: `docker run -d --link uaa -e UAA_URL=http://localhost:8080/uaa -e UAA_INTERNAL_URL=http://uaa:8080/uaa -p 127.0.0.1:9000:9000 pcfseceng/uaa:latest`
## Run docker-compose
Clone this repo and run `docker-compose up -d` inside folder [/docker-compose](/docker-compose).
## Use with credhub-cli
You can now connect to credhub with this command:
```bash
credhub-cli login -s https://localhost:9000 -u credhub -p password --skip-tls-validation
```