-
I want to install URLHub in a DockerContainer with php8.3 I have a PHP8.3 container with Apache and NODE22 I have several projects running in this type of container that I have put together (e.g. Shopware 5 or 6 or Contao and Matomo) So generally my technology works. But I'm having problems with URLHub right now, so I hope you can help me. I'm basically following the instructions on GitHub and executing the commands in the PHP container itself as the user "docker", who is assigned all the directories and rights. Here is my approach: In the .env I only filled the MySQL and aka DB_ variables as well as my APP_URL aka domain
Since I don't want to run it locally, I next run: but this ends with these messages:
I want to install URLHub in a DockerContainer with php8.3 I have a PHP8.3 container with Apache and NODE22 I have several projects running in this type of container that I have put together (e.g. Shopware 5 or 6 or Contao and Matomo) So generally my technology works. But I'm having problems with URLHub right now, so I hope you can help me. I'm basically following the instructions on GitHub and executing the commands in the PHP container itself as the user "docker", who is assigned all the directories and rights. Here is my approach: In the .env I only filled the MySQL and aka DB_ variables as well as my APP_URL aka domain The command: composer install
INFO Successfully published assets! 122 packages you are using are looking for funding.
INFO No publishable resources for tag [laravel-assets]. The command: php artisan key:generate The command: php artisan migrate --seed runs without problems Since I don't want to run it locally, I next run: but this ends with these messages:
Where is my mistake? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I think this is similar to laravel/vite-plugin#310 (comment) |
Beta Was this translation helpful? Give feedback.
-
Hello and thanks for your Response I think I'm much further along now, but unfortunately I keep getting the http:// URL in the source code. It's true that URLHub doesn't run "locally" with http, but my Traefik uses HTTPS for "global". What and where do I have to enter the "trusted_proxies" as they are called in Symfony, for example? |
Beta Was this translation helpful? Give feedback.
-
Configuring Trusted Proxies? You can see https://laravel.com/docs/11.x/requests#configuring-trusted-proxies |
Beta Was this translation helpful? Give feedback.
I think this is similar to laravel/vite-plugin#310 (comment)