adding postgres to production deployment
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
option_settings:
|
||||
aws:elasticbeanstalk:environment:
|
||||
EnvironmentType: SingleInstance
|
||||
aws:elasticbeanstalk:environment:
|
||||
EnvironmentType: SingleInstance
|
||||
aws:rds:dbinstance:
|
||||
DBEngine: postgres
|
||||
DBInstanceClass: "db.t2.small"
|
||||
DBAllocatedStorage: 6
|
||||
DBInstanceClass: "db.t2.micro"
|
||||
DBAllocatedStorage: 5
|
||||
DBUser: strapi
|
||||
aws:ec2:instances:
|
||||
InstanceTypes: "t2.micro"
|
||||
|
||||
3
.ebextensions/05-npm-commands.config
Normal file
3
.ebextensions/05-npm-commands.config
Normal file
@@ -0,0 +1,3 @@
|
||||
container_commands:
|
||||
installpg:
|
||||
command: "npm install pg"
|
||||
Reference in New Issue
Block a user