Skip to Content
Menu
This question has been flagged
1923 Views

Dear Friends,
I am testing odoo with aws (elastic beanstalk service) and the independent database rds (postgres). The services are operational but I have the message: Internal Server Error

The error is associated with the environment variables, I do not know how to pass in these dockerrunaws.json these environment variables. or the connection procedure.

I will appreciate your support.
try with:
{
  "AWSEBDockerrunVersion": "1",
  "Image": {
    "Name": "veivaa / odoo: 11.0"
  },
  "Ports": [
    {
      "HostPort": "80",
      "ContainerPort": "8069"
    }
  ],
  "Volumes": [
    {
      "HostDirectory": "/ var / app / current / addons",
      "ContainerDirectory": "/ mnt / extra-addons"
    }
  ],
  "environment": [
        {
          "name": "RDS_HOSTNAME",
          "value": "RDS_HOSTNAME"
        },
{
          "name": "POSTGRES_USER",
          "value": "RDS_USERNAME"
        },
        {
          "name": "db_password",
          "value": "RDS_PASSWORD"
        }

      ]
  
}

Regards.
Enviar comentarios
Historial
Guardadas

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
267
1
Oct 24
335
4
Oct 24
324
2
Oct 24
361
2
Dec 24
670