You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/vaultwarden-serverless.mdx
+29-22Lines changed: 29 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ dates:
14
14
posted: 2025-04-03
15
15
---
16
16
17
-
[Vaultwarden](https://www.vaultwarden.net/) is an open-source password manager that helps you securely store and manage your passwords. It is a community-maintained fork of the popular Bitwarden project, offering the same features with flexibility and privacy in mind.
17
+
Vaultwarden is an open-source password manager that helps you securely store and manage your passwords. It is a community-maintained fork of the popular Bitwarden project, offering the same features with flexibility and privacy in mind.
18
18
19
19
Scaleway Serverless Containers and Serverless SQL Databases allow you to quickly deploy a Vaultwarden server that:
20
20
- benefits from autoscaling according to your workloads
@@ -29,15 +29,15 @@ Scaleway Serverless Containers and Serverless SQL Databases allow you to quickly
29
29
30
30
## Creating a new Project
31
31
32
-
For the sake of this tutorial, we recommend you create all the required resources in a dedicated new Project. Using dedicated projects serves several purposes:
32
+
For the sake of this tutorial, we recommend you create all the required resources in a dedicated new Project. Using dedicated Projects serves several purposes:
33
33
34
34
- It allows you to separate different applications, environments, or teams, keeping their resources isolated and organized.
35
35
36
-
- You can set up specific permissions and access controls for each project, ensuring that only authorized users can access and manage the resources within that project.
36
+
- You can set up specific permissions and access controls for each Project, ensuring that only authorized users can access and manage the resources within that Project.
37
37
38
-
- It simplifies the process of monitoring and tracking usage, as you can view the resources and usage associated with each project separately.
38
+
- It simplifies the process of monitoring and tracking usage, as you can view the resources and usage associated with each Project separately.
39
39
40
-
- You can also use projects to create a logical separation between different parts of your infrastructure, making it easier to scale, maintain, and optimize your resources.
40
+
- You can also use Projects to create a logical separation between different parts of your infrastructure, making it easier to scale, maintain, and optimize your resources.
41
41
42
42
## Creating a serverless SQL Database
43
43
@@ -64,23 +64,30 @@ Vaultwarden relies on a database to store all password data securely. The databa
64
64
1.[Create a Serverless Containers namespace](/serverless-containers/how-to/create-manage-delete-containers-namespace/#creating-a-serverless-containers-namespace), then click **Create namespace and add container** to directly open the Serverless Containers creation menu.
65
65
66
66
2. Set the following parameters for the **image** of your container:
67
-
- Image from an external registry
68
-
- Image URL: `vaultwarden/server:latest`
69
-
- Port: `80`
70
-
2. Set the following **resources**:
71
-
- 1000 mVCPU
72
-
- 2048 MB RAM
73
-
3. Set the following **autoscaling** parameters:
74
-
- Minimum scale of `0` (set a value of 1 or more to avoid [cold starts](/serverless-containers/concepts/#cold-start))
75
-
- Maximum scale of `1` or more, according to your workload
|`DATABASE_URL`| connection string retrieved during the [previous step](#creating-a-serverless-sql-database)|
90
+
|`ADMIN_TOKEN`| authentication token retrieved by following [This procedure](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page)|
84
91
6. Click **Deploy container**. The container **Overview** tab displays.
85
92
86
93
## Finalizing the container configuration
@@ -90,15 +97,15 @@ Once your container is deployed, you need to make a few adjustments before being
90
97
1. Access the **Settings** tab of your container.
91
98
92
99
2. In the **Data** tab of the **Advanced options** section, add or update the following environment variables:
93
-
-`SIGNUPS_ALLOWED` = `false`
100
+
-`SIGNUPS_ALLOWED` = `false` (optional, to prevent unwanted signups)
94
101
-`DOMAIN` = endpoint or custom domain of your container
95
102
96
103
3. Click **Save settings and deploy container** to apply your changes.
97
104
98
105
Once your container's **status** switches to `ready`, your Vaultwarden server is ready to be used.
99
106
100
107
<Messagetype="important">
101
-
Vaultwarden is designed to store passwords, and other sensitive data. This tutorial only covers the basic set up of the server.
108
+
Vaultwarden is designed to store passwords, and other sensitive data. This tutorial only covers the basic set up of the server, and does not guarantee its security.
102
109
103
110
Refer to the official [Vaultwarden Wiki](https://github.com/dani-garcia/vaultwarden/wiki) for detailed instructions on how to secure your deployment.
0 commit comments