Skip to content

Initial .env config breaks when passwords contain certain special characters #42

Closed
@introini

Description

@introini

In the initial run of the docker-compose.yml, the .env file breaks when setting a password that contains special characters such as & ' /.

Pop!_OS 18.10

docker-compose up -d

The resulting .env file (www/.env) contains the following variables:

DB_HOST=bookstack_db
DB_DATABASE=bookstackapp
DB_USERNAME=bookstack
DB_PASSWORD=exampleDB_PASSWORD=database_user_passwordpassword

Not sure how the fields in the docker-compose.yml are parsed, but escaping these characters could be a solution. Another solution could be to mention the limitation and advise users to use only alphanumeric passwords.

Thanks, team linuxserver.io

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions