How to approach Django app in another Docker Container?

I running Django Projects with Docker Container.

Theres' three containers in Server.

  1. Accounts Container
  2. Blogs Container
  3. Etc Container

Situation.

I want to approach to Accoutns Container in Blogs Container.

Why.

There's Article Table in Blogs Conatiner.

And Blogs Container doesn't have accounts app.

so I have to approach to accounts app in Accounts Container.

class Article(models.Model):
    user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) 
    ...

I dont have any idea :(

Back to Top