https://prefect.io logo
Title
o

Octopus

07/13/2022, 8:54 AM
[v1.2.1] Hello, where can I find the IP configuration for containers ? Edit: I may be the docker proxy that I need to configure to do this, no necessarily via Prefect containers , idk When I do
docker port tmp_ui_1 8080/tcp
I get
127.0.0.1:8080
but I would like to change it to
0.0.0.0:8080
:::8080
1
a

Anna Geller

07/13/2022, 10:40 AM
I believe you would need to run
prefect server config
to get a docker-compose file and manually adjust it there if this doesn't help, check out https://discourse.prefect.io/t/troubleshooting-prefect-server-issues-list-of-resources-you-may-check/1011 for more info on troubleshooting Server
🙏 1
o

Octopus

07/13/2022, 12:14 PM
If I make custom change to the docker-compose.yml file and I replace the original /tmp/docker-compose.yml file that is used by prefect server start there's a risk that this config will be overrided later or not (by prefect itself) ?
a

Anna Geller

07/13/2022, 12:18 PM
not sure I got it, if you use your custom docker-compose file, you would start it using:
docker-compose up
rather than
prefect server start
o

Octopus

07/13/2022, 12:26 PM
I can do that but I will miss all the prefect server start flags like --volume-path
a

Anna Geller

07/13/2022, 12:37 PM
you would need to set those in the docker-compose file if you need some examples, many from the community used this one https://github.com/flavienbwk/prefect-docker-compose
🙌 1
o

Octopus

07/13/2022, 1:07 PM
Thanks a lot, it helped me to fix my issue. Adding custom host_ip in config.toml change the default 127.0.0.1 to my desired ip 0.0.0.0
🙌 1
a

Anna Geller

07/13/2022, 1:08 PM
nice work! 🙌 thanks for the update