updating postgres db name
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"client": "postgres",
|
"client": "postgres",
|
||||||
"host": "${process.env.RDS_HOSTNAME || '127.0.0.1'}",
|
"host": "${process.env.RDS_HOSTNAME || '127.0.0.1'}",
|
||||||
"port": "${process.env.RDS_PORT || 27017}",
|
"port": "${process.env.RDS_PORT || 27017}",
|
||||||
"database": "${process.env.RDS_NAME || 'strapi'}",
|
"database": "${process.env.RDS_NAME || 'postgres'}",
|
||||||
"username": "${process.env.RDS_USERNAME || ''}",
|
"username": "${process.env.RDS_USERNAME || ''}",
|
||||||
"password": "${process.env.RDS_PASSWORD || ''}"
|
"password": "${process.env.RDS_PASSWORD || ''}"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,3 +14,12 @@ Add postgres to strapi
|
|||||||
Add the S3 bucket to strapi
|
Add the S3 bucket to strapi
|
||||||
|
|
||||||
If doesnt work, try installing yarn in the ELB instance
|
If doesnt work, try installing yarn in the ELB instance
|
||||||
|
|
||||||
|
Create seperate sql database + VPC rules:
|
||||||
|
http://blog.blackninjadojo.com/aws/elastic-beanstalk/2019/01/28/adding-a-database-to-your-rails-application-on-elastic-beanstalk-using-rds.html
|
||||||
|
|
||||||
|
Tie this in with a cloudformation template + hooking it up
|
||||||
|
|
||||||
|
/opt/elasticbeanstalk/node-install/node-v12.16.1-linux-x64/bin
|
||||||
|
|
||||||
|
Try setting the database name using cloudformation template
|
||||||
|
|||||||
Reference in New Issue
Block a user