You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
634 B

applications:
- name: gourl
buildpack: binary_buildpack
memory: 64m
command: './run.sh'
instances: 1 # only use > 1 if you are using redis as the backend
health-check-type: http
health-check-http-endpoint: /ok
# if you use any marketplace or cups services, define the binding here
# services:
# - gourl-redis-service
# - gourl-oauth
# define any configuration settings via environment variables here (see https://github.com/mxschmitt/golang-url-shortener/wiki/Configuration)
env:
GUS_BASE_URL: "https://gourl.mydomain.com"
GUS_BACKEND: redis
GUS_SHORTED_ID_LENGTH: 5
GUS_ENABLE_DEBUG_MODE: false