Add hostname to manifest
This commit is contained in:
parent
a68d859646
commit
f06ca88e86
2 changed files with 8 additions and 3 deletions
|
@ -12,5 +12,11 @@ A Web GUI to written in Go to manage S3 buckets from any provider.
|
|||
## Run locally
|
||||
|
||||
1. Set all environment variables
|
||||
1. Run `go build .`
|
||||
1. Run `go build`
|
||||
1. Run the binary and visit <http://localhost:8080>
|
||||
|
||||
## Push to Cloud Foundry
|
||||
|
||||
1. Set environment variables in `manifest.yml`
|
||||
1. Set hostname in `manifest.yml` that isn't taken yet
|
||||
1. Run `cf push`
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
applications:
|
||||
- name: s3-manager
|
||||
host: s3-manager
|
||||
memory: 64M
|
||||
buildpack: https://github.com/cloudfoundry/go-buildpack.git
|
||||
|
||||
env:
|
||||
S3_ACCESS_KEY_ID: "XXX"
|
||||
S3_SECRET_ACCESS_KEY: "xxx"
|
||||
S3_ENDPOINT: "ds31s3.swisscom.com"
|
||||
V2_SIGNING: true
|
||||
|
|
Loading…
Reference in a new issue