[v1.2.1] Hello, where can I find the IP configurat...
# prefect-server
o
[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
I believe you would need to run
Copy code
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
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
not sure I got it, if you use your custom docker-compose file, you would start it using:
Copy code
docker-compose up
rather than
Copy code
prefect server start
o
I can do that but I will miss all the prefect server start flags like --volume-path
a
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
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
nice work! 🙌 thanks for the update