mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #1048] [MERGED] Add startup script to support init operations #2867
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2867
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1048
Author: @jjlin
Created: 7/5/2020
Status: ✅ Merged
Merged: 7/6/2020
Merged by: @dani-garcia
Base:
master← Head:init📝 Commits (1)
d5f9b33Add startup script to support init operations📊 Changes
14 files changed (+41 additions, -13 deletions)
View changed files
📝
docker/Dockerfile.j2(+2 -1)📝
docker/aarch64/mysql/Dockerfile(+2 -1)📝
docker/aarch64/sqlite/Dockerfile(+2 -1)📝
docker/amd64/mysql/Dockerfile(+2 -1)📝
docker/amd64/mysql/Dockerfile.alpine(+2 -1)📝
docker/amd64/postgresql/Dockerfile(+2 -1)📝
docker/amd64/postgresql/Dockerfile.alpine(+2 -1)📝
docker/amd64/sqlite/Dockerfile(+2 -1)📝
docker/amd64/sqlite/Dockerfile.alpine(+2 -1)📝
docker/armv6/mysql/Dockerfile(+2 -1)📝
docker/armv6/sqlite/Dockerfile(+2 -1)📝
docker/armv7/mysql/Dockerfile(+2 -1)📝
docker/armv7/sqlite/Dockerfile(+2 -1)➕
docker/start.sh(+15 -0)📄 Description
This is useful for making local customizations upon container start. To use
this feature, mount a script into the container as
/etc/bitwarden_rs.shand/or a directory of scripts as
/etc/bitwarden_rs.d. In the latter case,only files with an
.shextension are sourced, so files with otherextensions (e.g., data/config files) can reside in the same dir.
Note that the init scripts are run each time the container starts (not just
the first time), so these scripts should be idempotent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.