Hi,
To test idx, i imported one of my php projects which use docker.
My containers are working fine but i can’t access to my webpage in the preview.
Is there a configuration needed ?
I enabled docker service using this: services.docker.enable = true;
and tried this configuration for the preview :
web = {
# Example: run "npm run dev" with PORT set to IDX's defined port for previews,
# and show it in IDX's web preview panel
command = ["php" "-S" "localhost:$PORT"];
manager = "web";
env = {
# Environment variables to set for your server
PORT = "80";
};
};
Thx for the help