Mailcow-dockerized: Static IP

Created on 16 Jan 2019  路  2Comments  路  Source: mailcow/mailcow-dockerized

Is it possible to give the containers static IPs? Its just one line of code and at least for the MySQL container it would be greate becaus 3rd apps like AfterLogic needs the MySQL connection. At the moment after every update you have to look wich new IP the container has and update the configuration files...

Most helpful comment

You can simply use the container name mysql. If you are using a external network you could use mysql-mailcow.

Docker will then give you the correct container ip back via DNS.

All 2 comments

You can simply use the container name mysql. If you are using a external network you could use mysql-mailcow.

Docker will then give you the correct container ip back via DNS.

Worked. Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patrick7 picture patrick7  路  3Comments

constin picture constin  路  3Comments

CrAazZyMaN21 picture CrAazZyMaN21  路  3Comments

starcraft0429 picture starcraft0429  路  3Comments

mritzmann picture mritzmann  路  3Comments