-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d07ec01
commit ccd53f1
Showing
12 changed files
with
124 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
W9_REPO=bitwarden/self-host | ||
W9_DIST=community | ||
W9_VERSION=beta | ||
|
||
W9_HTTP_PORT_SET=9001 | ||
|
||
#### -- Not allowed to edit below environments when recreate app based on existing data -- #### | ||
|
||
W9_ID=bitwarden | ||
W9_HTTP_PORT=8080 | ||
W9_URL=bitwarden.test2.websoft9.cn | ||
W9_URL_REPLACE=true | ||
|
||
# Get from: https://bitwarden.com/host/ | ||
# Why? https://bitwarden.com/help/hosting-faqs/#q-what-are-my-installation-id-and-installation-key-used-for | ||
# This must set after or before applicatin up | ||
W9_BW_INSTALLATION_ID_SET=00000000-0000-0000-0000-000000000000 | ||
W9_BW_INSTALLATION_KEY_SET=xxxxxxxxxxxx | ||
|
||
W9_NETWORK=websoft9 | ||
|
||
#### ----------------------------------------------------------------------------------------- #### | ||
|
||
|
||
# Below environment is created by bitwarden: https://github.com/bitwarden/self-host/blob/main/docker-unified/settings.env | ||
|
||
##################### | ||
# Required Settings # | ||
##################### | ||
|
||
# Server hostname | ||
BW_DOMAIN=$W9_URL | ||
|
||
# Database | ||
# Available providers are sqlserver, postgresql, mysql/mariadb, or sqlite | ||
BW_DB_PROVIDER=mysql | ||
BW_DB_SERVER=db | ||
BW_DB_DATABASE=bitwarden_vault | ||
BW_DB_USERNAME=bitwarden | ||
BW_DB_PASSWORD=super_strong_password | ||
|
||
# Installation information | ||
# Get your ID and key from https://bitwarden.com/host/ | ||
BW_INSTALLATION_ID=$W9_BW_INSTALLATION_ID_SET | ||
BW_INSTALLATION_KEY=$W9_BW_INSTALLATION_KEY_SET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# CHANGELOG | ||
|
||
## Release | ||
### Fixes and Enhancements | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Bitwarden | ||
|
||
- need register ID and Key before install | ||
- Offcial docs not give a simple docker-compose install, it give install script | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# image: https://hub.docker.com/r/bitwarden/self-host | ||
# compose: https://github.com/bitwarden/self-host/blob/main/docker-unified/docker-compose.yml | ||
# environment: https://github.com/bitwarden/self-host/blob/main/docker-unified/settings.env | ||
# docs: https://bitwarden.com/help/install-on-premise-linux/ | ||
|
||
version: '3.8' | ||
|
||
services: | ||
bitwarden: | ||
image: $W9_REPO:$W9_VERSION | ||
container_name: $W9_ID | ||
restart: unless-stopped | ||
ports: | ||
- $W9_HTTP_PORT_SET:8080 | ||
env_file: .env | ||
volumes: | ||
- bitwarden:/etc/bitwarden | ||
- logs:/var/log/bitwarden | ||
depends_on: | ||
- db | ||
|
||
db: | ||
environment: | ||
MARIADB_USER: "bitwarden" | ||
MARIADB_PASSWORD: "super_strong_password" | ||
MARIADB_DATABASE: "bitwarden_vault" | ||
MARIADB_RANDOM_ROOT_PASSWORD: "true" | ||
image: mariadb:10 | ||
container_name: $W9_ID-mariadb | ||
restart: always | ||
volumes: | ||
- db:/var/lib/mysql | ||
|
||
volumes: | ||
db: | ||
bitwarden: | ||
logs: | ||
|
||
networks: | ||
default: | ||
name: $W9_NETWORK | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# About | ||
|
||
This folder includes files mount to container and used by Websoft9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "Bitwarden ", | ||
"trademark": "bitwarden ", | ||
"release": false, | ||
"fork_url": "https://github.com/bitwarden/server", | ||
"edition": [ | ||
{ | ||
"dist": "community", | ||
"version": ["dev"] | ||
} | ||
], | ||
"requirements": { | ||
"cpu": "1", | ||
"memory": "2", | ||
"disk": "1", | ||
"url": "https://bitwarden.com/help/install-on-premise-linux/#system-specifications" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# About | ||
|
||
This folder includes files mount to container and used by Websoft9 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# About | ||
|
||
This folder includes files for your Odoo development |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.