- Add a new database container in rancher for postgres
- Image: postgres:9.4
- Environment variables: POSTGRES_PASSWORD - select a postgres password 4: Console: None
- Select "Add Stack"
- Select the docker-compose.yml file from this repository
- Select the rancher-compose.yml file from this repository
- Update the rancher-compose.yml with appropriate values for client_id, client_secret, and postgres password
remote_driver: github
remote_config: "https://github.com?client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET_KEY>"
database_driver: postgres
database_config: "postgres://postgres:<PASSWORD>@database:5432/postgres?sslmode=disable"
remote_driver: bitbucket
remote_config: "https://bitbucket.org?client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET_KEY>"
database_driver: postgres
database_config: "postgres://postgres:<PASSWORD>@database:5432/postgres?sslmode=disable"