-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.yml
More file actions
34 lines (34 loc) · 1.11 KB
/
manifest.yml
File metadata and controls
34 lines (34 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
applications:
- name: ruby-starter-app
memory: 512M
instances: 1
services:
${name}-mysql-db:
type: mysql
#${name}-postgres-db:
# type: postgresql
#${name}-rabbitmq3:
# type: rabbitmq3
#${name}-mongo-db:
# type: mongodb
#${name}-filesystem:
# type: filesystem
#${name}-redis:
# type: redis
#${name}-harbor:
# type: harbor
#${name}-memcached:
# type: memcached
env:
USER_SERVICE: http://docs.hpcloud.com/#devplatform/2.0/helion/user/services/user-provided.html
CF_MGMT_TOOL: http://docs.hpcloud.com/#devplatform/2.0/helion/CLI/cfmgmt_growcluster_addservice.html
stackato:
hooks:
pre-running:
# change the DATABASE_URL scheme from mysql:// to mysql2:// since we aer using mysql2 gem. If you don't
# want to use this, you can use mysql gem too instead of mysql2 gem
- export DATABASE_URL=`echo $DATABASE_URL | sed 's/mysql/mysql2/'`
# run database migration after the DATABASE_URL has been changed
# to use the mysql2:// scheme
- rake db:migrate