Secure workspace for users, companies, projects, and encrypted password sharing.
663
SecurityBox is a security workspace for managing users, companies, projects, and encrypted password vault entries with role-based and share-based access control.
SA, Admin, and User roles.Read or Edit access.docker pull securitybox:latest
If the image is published under your Docker Hub namespace, use:
docker pull <dockerhub-user>/securitybox:0.0.1
https://www.youtube.com/watch?v=lJ0P_PJKVgY
Create a docker-compose.yml file:
services:
securitybox:
image: <dockerhub-user>/securitybox:0.0.1
container_name: securitybox-app
restart: unless-stopped
ports:
- "5285:8080"
environment:
ASPNETCORE_ENVIRONMENT: Production
ASPNETCORE_URLS: http://+:8080
ConnectionStrings__MariaDb: Server=mariadb;Port=3306;Database=securitybox;User=securitybox;Password=change_this_db_password;Connection Timeout=30;
SeedSaUser__UserName: sa
SeedSaUser__DisplayName: System Administrator
SeedSaUser__Password: change_this_sa_password
PasswordVault__MasterKey: change-this-password-vault-master-key-before-production
depends_on:
mariadb:
condition: service_healthy
mariadb:
image: mariadb:11.4
container_name: securitybox-mariadb
restart: unless-stopped
environment:
MARIADB_ROOT_PASSWORD: change_this_root_password
MARIADB_DATABASE: securitybox
MARIADB_USER: securitybox
MARIADB_PASSWORD: change_this_db_password
volumes:
- mariadb_data:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
volumes:
mariadb_data:
Start the stack:
docker compose up -d
Open the app:
http://localhost:5285
SecurityBox uses environment variable binding. Use double underscores (__) for nested configuration keys.
| Variable | Required | Description |
|---|---|---|
ASPNETCORE_ENVIRONMENT | No | Runtime environment. Use Production for deployment. |
ASPNETCORE_URLS | No | Listen URL inside the container. Default is http://+:8080. |
ConnectionStrings__MariaDb | Yes | MariaDB connection string used by the application. |
SeedSaUser__UserName | Yes | Initial super admin username. |
SeedSaUser__DisplayName | Yes | Initial super admin display name. |
SeedSaUser__Password | Yes | Initial super admin password. Change before production. |
PasswordVault__MasterKey | Yes | Master key used for password vault encryption. Change before production and keep stable. |
| Container Port | Default Host Port | Description |
|---|---|---|
8080 | 5285 | SecurityBox web application |
3306 | Optional | MariaDB, only expose if external access is required |
| Volume | Description |
|---|---|
mariadb_data | Persistent MariaDB database files |
PasswordVault__MasterKey secret and stable. If it is changed after passwords are saved, existing encrypted vault data may no longer decrypt.3306 unless another host must connect to the database.Use the configured seeded SA account:
Username: value of SeedSaUser__UserName
Password: value of SeedSaUser__Password
After login, change the default password and create the required users, companies, and projects.
Content type
Image
Digest
sha256:1babfda8c…
Size
63.4 MB
Last updated
21 days ago
docker pull ssiroos/securitybox