Skip to content

Commit

Permalink
Merge pull request #3 from geniusdynamics/frmMain
Browse files Browse the repository at this point in the history
main
  • Loading branch information
compgeniuses authored Aug 1, 2024
2 parents 6087620 + 992fe57 commit 987bace
Show file tree
Hide file tree
Showing 19 changed files with 961 additions and 583 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github:
- kemboi22
- compgeniuses
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/ns8-vaultwarden.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

260 changes: 260 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ vaultwarden is a community-supported open-source document management system that

Instantiate the module with:

```shell
add-module ghcr.io/compgeniuses/vaultwarden:latest 1
```

The output of the command will return the instance name.
Output example:

{"module_id": "vaultwarden", "image_name": "vaultwarden", "image_url": "ghcr.io/compgeniuses/vaultwarden:latest"}
## Update Module

```shell
api-cli run update-module --data '{"module_url":"ghcr.io/compgeniuses/vaultwarden:latest","instances":["vaultwarden"],"force":true}'
```
## Configure

Let's assume that the vaultwarden instance is named `vaultwarden1`.
Expand Down
2 changes: 1 addition & 1 deletion build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -e
# Prepare variables for later use
images=()
# The image will be pushed to GitHub container registry
repobase="${REPOBASE:-ghcr.io/compgeniuses}"
repobase="${REPOBASE:-ghcr.io/geniusdynamics}"
# Configure the image name
reponame="vaultwarden"
vaultwarden_version="1.30.5"
Expand Down
18 changes: 18 additions & 0 deletions imageroot/actions/configure-module/00install_argon
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python3

#
# Copyright (C) 2023 Nethesis S.r.l.
# SPDX-License-Identifier: GPL-3.0-or-later
#

import subprocess

def install_argon2():
command = ["pip", "install", "argon2-cffi"]
try:
subprocess.run(command, check=True)
print("argon2-cffi installed successfully.")
except subprocess.CalledProcessError as e:
print(f"Error occurred while installing argon2-cffi: {str(e)}")

install_argon2()
Loading

0 comments on commit 987bace

Please sign in to comment.