adding postgres to production deployment

This commit is contained in:
2020-04-24 16:55:42 +01:00
parent fc172e1a4c
commit d5c5a24d5e
4 changed files with 9 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
"default": {
"connector": "bookshelf",
"settings": {
"client": "sqlite",
"client": "postgres",
"host": "${process.env.DATABASE_HOST || '127.0.0.1'}",
"port": "${process.env.DATABASE_PORT || 27017}",
"database": "${process.env.DATABASE_NAME || 'strapi'}",

View File

@@ -1,5 +1,5 @@
{
"host": "${process.env.HOST || '0.0.0.0'}",
"host": "${process.env.HOST || 'strapi-prod.eu-west-1.elasticbeanstalk.com'}",
"port": "${process.env.PORT || 1337}",
"production": true,
"proxy": {