Better keter.yml in scaffolding
This commit is contained in:
parent
a2563c8d05
commit
eda8597039
@ -705,15 +705,63 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
|
||||
|
||||
{-# START_FILE config/keter.yml #-}
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
args:
|
||||
- production
|
||||
host: <<HOST-NOT-SET>>
|
||||
# After you've edited this file, remove the following line to allow
|
||||
# `yesod keter` to build your bundle.
|
||||
user-edited: false
|
||||
|
||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
||||
# web application. See the Keter documentation for more information on
|
||||
# available stanzas.
|
||||
stanzas:
|
||||
|
||||
# Your Yesod application.
|
||||
- type: webapp
|
||||
|
||||
# Name of your executable. You are unlikely to need to change this.
|
||||
# Note that all file paths are relative to the keter.yml file.
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
|
||||
# Command line options passed to your application.
|
||||
args:
|
||||
- production
|
||||
|
||||
hosts:
|
||||
# You can specify one or more hostnames for your application to respond
|
||||
# to. The primary hostname will be used for generating your application
|
||||
# root.
|
||||
- www.PROJECTNAME.com
|
||||
|
||||
# Static files.
|
||||
- type: static-files
|
||||
hosts:
|
||||
- static.PROJECTNAME.com
|
||||
root: ../static
|
||||
|
||||
# Uncomment to turn on directory listings.
|
||||
# directory-listing: true
|
||||
|
||||
# Redirect plain domain name to www.
|
||||
- type: redirect
|
||||
|
||||
hosts:
|
||||
- PROJECTNAME.com
|
||||
actions:
|
||||
- host: www.PROJECTNAME.com
|
||||
# secure: false
|
||||
# port: 80
|
||||
|
||||
# Uncomment to switch to a non-permanent redirect.
|
||||
# status: 303
|
||||
|
||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||
# copy-to: user@host:/opt/keter/incoming
|
||||
|
||||
# If you would like to have Keter automatically create a PostgreSQL database
|
||||
# and set appropriate environment variables for it to be discovered, uncomment
|
||||
# the following line.
|
||||
# postgres: true
|
||||
|
||||
{-# START_FILE config/models #-}
|
||||
User
|
||||
ident Text
|
||||
|
||||
@ -711,15 +711,63 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
|
||||
|
||||
{-# START_FILE config/keter.yml #-}
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
args:
|
||||
- production
|
||||
host: <<HOST-NOT-SET>>
|
||||
# After you've edited this file, remove the following line to allow
|
||||
# `yesod keter` to build your bundle.
|
||||
user-edited: false
|
||||
|
||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
||||
# web application. See the Keter documentation for more information on
|
||||
# available stanzas.
|
||||
stanzas:
|
||||
|
||||
# Your Yesod application.
|
||||
- type: webapp
|
||||
|
||||
# Name of your executable. You are unlikely to need to change this.
|
||||
# Note that all file paths are relative to the keter.yml file.
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
|
||||
# Command line options passed to your application.
|
||||
args:
|
||||
- production
|
||||
|
||||
hosts:
|
||||
# You can specify one or more hostnames for your application to respond
|
||||
# to. The primary hostname will be used for generating your application
|
||||
# root.
|
||||
- www.PROJECTNAME.com
|
||||
|
||||
# Static files.
|
||||
- type: static-files
|
||||
hosts:
|
||||
- static.PROJECTNAME.com
|
||||
root: ../static
|
||||
|
||||
# Uncomment to turn on directory listings.
|
||||
# directory-listing: true
|
||||
|
||||
# Redirect plain domain name to www.
|
||||
- type: redirect
|
||||
|
||||
hosts:
|
||||
- PROJECTNAME.com
|
||||
actions:
|
||||
- host: www.PROJECTNAME.com
|
||||
# secure: false
|
||||
# port: 80
|
||||
|
||||
# Uncomment to switch to a non-permanent redirect.
|
||||
# status: 303
|
||||
|
||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||
# copy-to: user@host:/opt/keter/incoming
|
||||
|
||||
# If you would like to have Keter automatically create a PostgreSQL database
|
||||
# and set appropriate environment variables for it to be discovered, uncomment
|
||||
# the following line.
|
||||
# postgres: true
|
||||
|
||||
{-# START_FILE config/models #-}
|
||||
User
|
||||
ident Text
|
||||
@ -735,6 +783,15 @@ Email
|
||||
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|
||||
|
||||
{-# START_FILE config/mysql.yml #-}
|
||||
# NOTE: These settings can be overridden by environment variables as well, in
|
||||
# particular:
|
||||
#
|
||||
# MYSQL_HOST
|
||||
# MYSQL_PORT
|
||||
# MYSQL_USER
|
||||
# MYSQL_PASSWORD
|
||||
# MYSQL_DATABASE
|
||||
|
||||
Default: &defaults
|
||||
user: PROJECTNAME
|
||||
password: PROJECTNAME
|
||||
@ -760,32 +817,6 @@ Production:
|
||||
poolsize: 100
|
||||
<<: *defaults
|
||||
|
||||
{-# START_FILE config/postgresql.yml #-}
|
||||
Default: &defaults
|
||||
user: PROJECTNAME
|
||||
password: PROJECTNAME
|
||||
host: localhost
|
||||
port: 5432
|
||||
database: PROJECTNAME
|
||||
poolsize: 10
|
||||
|
||||
Development:
|
||||
<<: *defaults
|
||||
|
||||
Testing:
|
||||
database: PROJECTNAME_test
|
||||
<<: *defaults
|
||||
|
||||
Staging:
|
||||
database: PROJECTNAME_staging
|
||||
poolsize: 100
|
||||
<<: *defaults
|
||||
|
||||
Production:
|
||||
database: PROJECTNAME_production
|
||||
poolsize: 100
|
||||
<<: *defaults
|
||||
|
||||
{-# START_FILE config/robots.txt #-}
|
||||
User-agent: *
|
||||
|
||||
|
||||
@ -760,15 +760,63 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
|
||||
|
||||
{-# START_FILE config/keter.yml #-}
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
args:
|
||||
- production
|
||||
host: <<HOST-NOT-SET>>
|
||||
# After you've edited this file, remove the following line to allow
|
||||
# `yesod keter` to build your bundle.
|
||||
user-edited: false
|
||||
|
||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
||||
# web application. See the Keter documentation for more information on
|
||||
# available stanzas.
|
||||
stanzas:
|
||||
|
||||
# Your Yesod application.
|
||||
- type: webapp
|
||||
|
||||
# Name of your executable. You are unlikely to need to change this.
|
||||
# Note that all file paths are relative to the keter.yml file.
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
|
||||
# Command line options passed to your application.
|
||||
args:
|
||||
- production
|
||||
|
||||
hosts:
|
||||
# You can specify one or more hostnames for your application to respond
|
||||
# to. The primary hostname will be used for generating your application
|
||||
# root.
|
||||
- www.PROJECTNAME.com
|
||||
|
||||
# Static files.
|
||||
- type: static-files
|
||||
hosts:
|
||||
- static.PROJECTNAME.com
|
||||
root: ../static
|
||||
|
||||
# Uncomment to turn on directory listings.
|
||||
# directory-listing: true
|
||||
|
||||
# Redirect plain domain name to www.
|
||||
- type: redirect
|
||||
|
||||
hosts:
|
||||
- PROJECTNAME.com
|
||||
actions:
|
||||
- host: www.PROJECTNAME.com
|
||||
# secure: false
|
||||
# port: 80
|
||||
|
||||
# Uncomment to switch to a non-permanent redirect.
|
||||
# status: 303
|
||||
|
||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||
# copy-to: user@host:/opt/keter/incoming
|
||||
|
||||
# If you would like to have Keter automatically create a PostgreSQL database
|
||||
# and set appropriate environment variables for it to be discovered, uncomment
|
||||
# the following line.
|
||||
# postgres: true
|
||||
|
||||
{-# START_FILE config/models #-}
|
||||
User
|
||||
ident Text
|
||||
@ -784,6 +832,15 @@ Email
|
||||
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|
||||
|
||||
{-# START_FILE config/postgresql.yml #-}
|
||||
# NOTE: These settings can be overridden by environment variables as well, in
|
||||
# particular:
|
||||
#
|
||||
# PGHOST
|
||||
# PGPORT
|
||||
# PGUSER
|
||||
# PGPASS
|
||||
# PGDATABASE
|
||||
|
||||
Default: &defaults
|
||||
user: PROJECTNAME
|
||||
password: PROJECTNAME
|
||||
|
||||
@ -711,15 +711,63 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
|
||||
|
||||
{-# START_FILE config/keter.yml #-}
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
args:
|
||||
- production
|
||||
host: <<HOST-NOT-SET>>
|
||||
# After you've edited this file, remove the following line to allow
|
||||
# `yesod keter` to build your bundle.
|
||||
user-edited: false
|
||||
|
||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
||||
# web application. See the Keter documentation for more information on
|
||||
# available stanzas.
|
||||
stanzas:
|
||||
|
||||
# Your Yesod application.
|
||||
- type: webapp
|
||||
|
||||
# Name of your executable. You are unlikely to need to change this.
|
||||
# Note that all file paths are relative to the keter.yml file.
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
|
||||
# Command line options passed to your application.
|
||||
args:
|
||||
- production
|
||||
|
||||
hosts:
|
||||
# You can specify one or more hostnames for your application to respond
|
||||
# to. The primary hostname will be used for generating your application
|
||||
# root.
|
||||
- www.PROJECTNAME.com
|
||||
|
||||
# Static files.
|
||||
- type: static-files
|
||||
hosts:
|
||||
- static.PROJECTNAME.com
|
||||
root: ../static
|
||||
|
||||
# Uncomment to turn on directory listings.
|
||||
# directory-listing: true
|
||||
|
||||
# Redirect plain domain name to www.
|
||||
- type: redirect
|
||||
|
||||
hosts:
|
||||
- PROJECTNAME.com
|
||||
actions:
|
||||
- host: www.PROJECTNAME.com
|
||||
# secure: false
|
||||
# port: 80
|
||||
|
||||
# Uncomment to switch to a non-permanent redirect.
|
||||
# status: 303
|
||||
|
||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||
# copy-to: user@host:/opt/keter/incoming
|
||||
|
||||
# If you would like to have Keter automatically create a PostgreSQL database
|
||||
# and set appropriate environment variables for it to be discovered, uncomment
|
||||
# the following line.
|
||||
# postgres: true
|
||||
|
||||
{-# START_FILE config/models #-}
|
||||
User
|
||||
ident Text
|
||||
@ -735,6 +783,15 @@ Email
|
||||
-- By default this file is used in Model.hs (which is imported by Foundation.hs)
|
||||
|
||||
{-# START_FILE config/postgresql.yml #-}
|
||||
# NOTE: These settings can be overridden by environment variables as well, in
|
||||
# particular:
|
||||
#
|
||||
# PGHOST
|
||||
# PGPORT
|
||||
# PGUSER
|
||||
# PGPASS
|
||||
# PGDATABASE
|
||||
|
||||
Default: &defaults
|
||||
user: PROJECTNAME
|
||||
password: PROJECTNAME
|
||||
|
||||
@ -626,15 +626,63 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
|
||||
|
||||
{-# START_FILE config/keter.yml #-}
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
args:
|
||||
- production
|
||||
host: <<HOST-NOT-SET>>
|
||||
# After you've edited this file, remove the following line to allow
|
||||
# `yesod keter` to build your bundle.
|
||||
user-edited: false
|
||||
|
||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
||||
# web application. See the Keter documentation for more information on
|
||||
# available stanzas.
|
||||
stanzas:
|
||||
|
||||
# Your Yesod application.
|
||||
- type: webapp
|
||||
|
||||
# Name of your executable. You are unlikely to need to change this.
|
||||
# Note that all file paths are relative to the keter.yml file.
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
|
||||
# Command line options passed to your application.
|
||||
args:
|
||||
- production
|
||||
|
||||
hosts:
|
||||
# You can specify one or more hostnames for your application to respond
|
||||
# to. The primary hostname will be used for generating your application
|
||||
# root.
|
||||
- www.PROJECTNAME.com
|
||||
|
||||
# Static files.
|
||||
- type: static-files
|
||||
hosts:
|
||||
- static.PROJECTNAME.com
|
||||
root: ../static
|
||||
|
||||
# Uncomment to turn on directory listings.
|
||||
# directory-listing: true
|
||||
|
||||
# Redirect plain domain name to www.
|
||||
- type: redirect
|
||||
|
||||
hosts:
|
||||
- PROJECTNAME.com
|
||||
actions:
|
||||
- host: www.PROJECTNAME.com
|
||||
# secure: false
|
||||
# port: 80
|
||||
|
||||
# Uncomment to switch to a non-permanent redirect.
|
||||
# status: 303
|
||||
|
||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||
# copy-to: user@host:/opt/keter/incoming
|
||||
|
||||
# If you would like to have Keter automatically create a PostgreSQL database
|
||||
# and set appropriate environment variables for it to be discovered, uncomment
|
||||
# the following line.
|
||||
# postgres: true
|
||||
|
||||
{-# START_FILE config/robots.txt #-}
|
||||
User-agent: *
|
||||
|
||||
|
||||
@ -711,15 +711,63 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
|
||||
|
||||
{-# START_FILE config/keter.yml #-}
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
args:
|
||||
- production
|
||||
host: <<HOST-NOT-SET>>
|
||||
# After you've edited this file, remove the following line to allow
|
||||
# `yesod keter` to build your bundle.
|
||||
user-edited: false
|
||||
|
||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
||||
# web application. See the Keter documentation for more information on
|
||||
# available stanzas.
|
||||
stanzas:
|
||||
|
||||
# Your Yesod application.
|
||||
- type: webapp
|
||||
|
||||
# Name of your executable. You are unlikely to need to change this.
|
||||
# Note that all file paths are relative to the keter.yml file.
|
||||
exec: ../dist/build/PROJECTNAME/PROJECTNAME
|
||||
|
||||
# Command line options passed to your application.
|
||||
args:
|
||||
- production
|
||||
|
||||
hosts:
|
||||
# You can specify one or more hostnames for your application to respond
|
||||
# to. The primary hostname will be used for generating your application
|
||||
# root.
|
||||
- www.PROJECTNAME.com
|
||||
|
||||
# Static files.
|
||||
- type: static-files
|
||||
hosts:
|
||||
- static.PROJECTNAME.com
|
||||
root: ../static
|
||||
|
||||
# Uncomment to turn on directory listings.
|
||||
# directory-listing: true
|
||||
|
||||
# Redirect plain domain name to www.
|
||||
- type: redirect
|
||||
|
||||
hosts:
|
||||
- PROJECTNAME.com
|
||||
actions:
|
||||
- host: www.PROJECTNAME.com
|
||||
# secure: false
|
||||
# port: 80
|
||||
|
||||
# Uncomment to switch to a non-permanent redirect.
|
||||
# status: 303
|
||||
|
||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||
# copy-to: user@host:/opt/keter/incoming
|
||||
|
||||
# If you would like to have Keter automatically create a PostgreSQL database
|
||||
# and set appropriate environment variables for it to be discovered, uncomment
|
||||
# the following line.
|
||||
# postgres: true
|
||||
|
||||
{-# START_FILE config/models #-}
|
||||
User
|
||||
ident Text
|
||||
|
||||
Loading…
Reference in New Issue
Block a user