2stacks / freeradius-django

A freeradius container for use with django-freeradius
http://www.2stacks.net/freeradius-django/
MIT License
13 stars 1 forks source link

When using a non-standard DB port, the containers freeradius-django freeradius 1 and freeradius-django_django_1 do not work correctly. #26

Open k8s-comandante opened 4 years ago

k8s-comandante commented 4 years ago

Hi, I am having problems using a non-standard postgres database port, I want to use 5437 instead of 5432 in my project. If I select a port for the 5432 database, the stack works fine, but when I select 5437, it doesn't. At the same time, the containers work, but in the freeradius-django_freeradius_1 logs I get Operation timed out, and in the freeradius-django_django_1 logs - Waiting for PostgreSQL to become available ...

In docker-compose.yml and ./django-freeradius/tests/local_settings.py I changed port 5432 to 5437.

Please help me figure it out.

2stacks commented 4 years ago

Did you update the env variables for both containers? If so I'll have to see why those variables aren't being passed correctly to the containers.

k8s-comandante commented 4 years ago

Did you update the env variables for both containers? If so I'll have to see why those variables aren't being passed correctly to the containers.

  • DB_PORT=5437
  • PG_PORT=5437

yes, I updated the variables for both containers, moreover, if you go into the container there are new variables.

k8s-comandante commented 4 years ago

Up!

2stacks commented 4 years ago

Were you able to fix the issue? I've not had a chance to look at it yet.

On Mon, May 4, 2020, 1:58 AM k8s-comandante notifications@github.com wrote:

Up!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/2stacks/freeradius-django/issues/26#issuecomment-623272569, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUNEHDBFLESPBHNWOWKUL3RPZKSDANCNFSM4MVLVNDQ .

k8s-comandante commented 4 years ago

Were you able to fix the issue? I've not had a chance to look at it yet. On Mon, May 4, 2020, 1:58 AM k8s-comandante @.***> wrote: Up! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#26 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUNEHDBFLESPBHNWOWKUL3RPZKSDANCNFSM4MVLVNDQ .

Unfortunately, it doesn’t work.

k8s-comandante commented 4 years ago

UP!

2stacks commented 4 years ago

What's UP?

On Mon, May 11, 2020, 12:50 AM k8s-comandante notifications@github.com wrote:

UP!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/2stacks/freeradius-django/issues/26#issuecomment-626467431, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUNEHENFRRJDJOLMFRUVQTRQ57YDANCNFSM4MVLVNDQ .

k8s-comandante commented 4 years ago

What's UP? On Mon, May 11, 2020, 12:50 AM k8s-comandante @.***> wrote: UP! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#26 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUNEHENFRRJDJOLMFRUVQTRQ57YDANCNFSM4MVLVNDQ .

Could not find a solution to this problem?