-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Description
Support guidelines
- I've read the support guidelines
I've found a bug and checked that ...
- ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
When environment variables used in 13-config-anonaddy.sh are set, special characters like whitespaces are preventing the server from starting.
Expected behaviour
Using a whitespace in the config even when escaping shouldn't prevent the server from starting.
Example: APP_NAME="Test Test"
Actual behaviour
The server doesn't start as the .env config cannot be read.
Steps to reproduce
- Set
APP_NAMEto something with a whitespace - Try to start the container
Docker info
Client: Docker Engine - Community
Version: 28.4.0
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.28.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.39.4
Path: /usr/libexec/docker/cli-plugins/docker-compose
Docker Compose config
Logs
server-1 | [cont-init.d] 15-config-postfix.sh: exited 0.
server-1 | [cont-init.d] 50-svc-main.sh: executing...
server-1 | DB migration
server-1 | The environment file is invalid!
server-1 | Failed to parse dotenv file. Encountered unexpected whitespace at [Test Test].
server-1 | [cont-init.d] 50-svc-main.sh: exited 1.
server-1 | [cont-finish.d] executing container finish scripts...
server-1 | [cont-finish.d] done.
Additional info
No response
Flash1232