-
-
Notifications
You must be signed in to change notification settings - Fork 136
Closed as duplicate of#122
Closed as duplicate of#122
Copy link
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
AS the name states. In my Docker compose I am trying to implement the secrets at as much places as possible. However the Docker image for Bookstack refuses to either read the file or be set into a variable.
FILE__myvar=/run/secrets/mypass literally becomes "/run/secrets/mypass"
And the variable name literally becomes: FILE__myvar
Expected Behavior
To either create the variable myvar with the contents of the file.
Steps To Reproduce
Docker compose and try to use docker secrets located at /run/secrets
Environment
- OS: Ubuntu 22.04 LTS
- How docker service was installed: Through the Docker website
CPU architecture
x86-64
Docker creation
Docker compose with any FILE__ variables
Container logs
bookstack-server | at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838
bookstack-server | 834▕ $exceptionType = $this->isUniqueConstraintError($e)
bookstack-server | 835▕ ? UniqueConstraintViolationException::class
bookstack-server | 836▕ : QueryException::class;
bookstack-server | 837▕
bookstack-server | ➜ 838▕ throw new $exceptionType(
bookstack-server | 839▕ $this->getNameWithReadWriteType(),
bookstack-server | 840▕ $query,
bookstack-server | 841▕ $this->prepareBindings($bindings),
bookstack-server | 842▕ $e,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right
Type
Projects
Status
Done