Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2249 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
серп. 25
2604
1
лип. 25
1013
1
серп. 25
1151
0
трав. 25
1464
2
квіт. 25
3616