تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2247 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
2604
1
يوليو 25
1013
1
أغسطس 25
1151
0
مايو 25
1464
2
أبريل 25
3616