Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid interpolation format for services.php.environment.TRUSTED_HOSTS #630

Closed
steflight opened this issue May 9, 2024 · 2 comments
Closed

Comments

@steflight
Copy link

When i execute this command :
Docker compose build --no-cache

I have this result:
invalid interpolation format for services.php.environment.TRUSTED_HOSTS: "^${SERVER_NAME:-example\.com|localhost". You may need to escape any $ with another $.

To solve problem i added $ .
is it an issue or it depend on my docker version ?

@maxhelias
Copy link
Collaborator

Yes it's your docker version. See : #616 or #247

@maxhelias maxhelias pinned this issue May 22, 2024
@garak
Copy link

garak commented Sep 30, 2024

I'm having a similar issue:

invalid interpolation format for services.php.environment.MERCURE_PUBLIC_URL.
You may need to escape any $ with another $.
https://${SERVER_NAME:-localhost

My docker and docker-compose versions seem to be higher than the ones declared to be compatible:

Docker version 24.0.7, build 24.0.7-0ubuntu4.1
Docker Compose version v2.15.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants