1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-22 16:57:36 +01:00
Commit Graph

76 Commits

Author SHA1 Message Date
Vince Grassia
5dd6a05615
New Self Host Stub Scripts (#1893) 2022-03-01 16:19:09 -05:00
Julien Eyraud
4ecfc66877
Support docker compose v2 (#1799) 2022-02-24 10:36:59 -05:00
Micaiah Martin
156e10da0e
[BEEEP] Bitwarden Script uninstall option (#1796)
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-02-23 14:35:36 -06:00
Barben360
b2f84abca2
Fix possible syntax error (#1802) 2022-02-09 13:12:44 -07:00
Micaiah Martin
fefe284a2b
Add key connector check for update function in run.sh (#1790)
* Added logic to check if key-connector is enabled
2021-12-30 11:27:25 -07:00
Joseph Flinn
f1e084445e
commenting out the lines that are breaking the self-host install/update (#1789) 2021-12-29 16:24:06 -08:00
Micaiah Martin
735f58dd6f
Feature/add key-connector version to self-hosted scripts (#1784)
* Added Key Connector version

* Fix updatebw() for Key Connector

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2021-12-29 09:07:16 -07:00
Oscar Hinton
162822bd9d
Revert removal of create log dir for business portal since run scripts are used by older versions as well (#1637) 2021-10-15 10:40:43 +02:00
Oscar Hinton
79447b6671
Remove Business Portal (#1614) 2021-10-06 10:39:13 +02:00
Vince Grassia
bdcfbb3b43
Allow for changing database name (#1397)
* Remove hard coded database name

* Update permissions on build scripts

* Update Setup project and run scripts for configuring database name

* Remove hyphen from database name flag

* Update with suggested changes, still needs testing

* Revert SQL statements to concatenantion for testing

* Fix typo

* Update util/Setup/EnvironmentFileBuilder.cs

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>

* Update SQL commands to prevent SQL injection attacks

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-07-02 10:52:34 -04:00
Joseph Flinn
970712e014
making the bash script command sections a bit easier to read (#1085) 2021-01-21 14:49:40 -05:00
Joseph Flinn
2dc0fe3b31
Bwsh surpress warnings (#1084)
* surpessing the missing docker networks message in the bash script when the docker-compose project is already down

* surpressing the missing docker network warnings in the powershell script
2021-01-21 14:49:27 -05:00
Matt Portune
dcded43f86
create sso and portal log dirs (#932) 2020-09-14 13:08:43 -04:00
Kyle Spearrin
b105dad56e fix formatting 2020-06-17 09:12:01 -04:00
dcertskc
5977803e3b
Added force renew certificate (#781) 2020-06-17 09:05:35 -04:00
Mart124
d36c403e6b
Typo in #758 (#763) 2020-06-01 17:35:57 -04:00
Mart124
211b3288f5
Do not restart if update not needed (#758)
* Do not restart if update not needed

* Do not restart if update not needed
2020-06-01 09:31:11 -04:00
Matt Portune
d746517ff4 Create missing container volume directories if/when docker-compose fails to 2020-05-29 18:03:55 -04:00
Mart124
5d802cefd5 New updateconf scripts method (#575)
* New updateconf scripts method

* New updateconf scripts method

* New updateconf scripts method

* New updateconf scripts method
2019-10-17 15:10:28 -04:00
Mart124
5e4163bcb6 Remove old compat from run.sh (#572) 2019-10-02 10:41:13 -04:00
Mart124
2f3f852d21 Prune only when needed (#573)
* Prune only when needed

* Prune only when needed
2019-10-02 10:27:22 -04:00
Mart124
003a0802a7 Get container name from docker-compose.override.yml (#571)
* Update run.sh

* Much more generic version

* Typo

* Windows version
2019-10-02 10:20:33 -04:00
Sandro Jäckel
3feaaf8f01 Replace company.com with example.com (#502) 2019-05-22 20:07:39 -04:00
SoulSeekkor
7c36984609 Set Compose HTTP timeout. (#390) 2018-11-08 21:32:23 -05:00
Kyle Spearrin
b83b006cd8 prune all except setup 2018-11-07 09:51:16 -05:00
Kyle Spearrin
4c3da35f76 dont use --all 2018-10-30 10:21:26 -04:00
Kyle Spearrin
552bddc1a4 not just dangling image prune 2018-10-22 08:10:58 -04:00
Kyle Spearrin
2f9fc0dba8 remove setup complete message 2018-09-18 08:29:25 -04:00
Kyle Spearrin
d43d0f1446 set docker files to env var 2018-08-31 09:16:14 -04:00
Kyle Spearrin
3c52cc9082 rebuild command added 2018-08-30 16:25:33 -04:00
Mart124
b038b7b290 Only prune our own images (#337)
* Only prune our own images

* Remove comment

* Prune our own images only, ps1 script
2018-08-08 10:04:03 -04:00
Kyle Spearrin
850000ab26 capitalize Bitwarden 2018-05-31 21:47:06 -04:00
Kyle Spearrin
5f002a20f1 formatting on run script 2018-05-31 13:49:41 -04:00
Mart124
92b08e6cf1 Rework service user (#299)
* Use user primary group if not root

* Do not run getent on MacOS

* Simplify UID/GID management

* Make uid.env backward compatible in run.sh

* Merge install.sh with run.sh to avoid duplicating code

Especially the UID/GID management one

* Generate correct OS name

* Be sure to keep old behavior for backward compatiblilty

* Get the colors back from install.sh
2018-05-31 12:05:26 -04:00
Kyle Spearrin
b7a2e47bd9 map host docker group id to containers 2018-04-16 15:30:07 -04:00
Kyle Spearrin
dad630f80f ENV_DIR 2018-03-27 17:26:29 -04:00
Kyle Spearrin
aa69b45400 mk env dir 2018-03-27 17:18:09 -04:00
Kyle Spearrin
5b7e7bc9b8 LOCAL_UID e before container name ... derp 2018-03-27 16:58:32 -04:00
Kyle Spearrin
557ef1b339 bad arg 2018-03-27 16:51:09 -04:00
Kyle Spearrin
e750bd023e e is a string 2018-03-27 16:48:17 -04:00
Kyle Spearrin
6cabee56de uid.env file 2018-03-27 15:23:09 -04:00
Kyle Spearrin
6641290290 no need to create env file 2018-03-27 15:04:13 -04:00
Kyle Spearrin
a205f40613 goso all the things 2018-03-27 14:55:33 -04:00
Kyle Spearrin
6179813c9a up sleep to 60 seconds 2018-03-10 23:53:21 -05:00
Kyle Spearrin
bdd9e89fb1 new echos for database sleeps 2018-03-09 23:13:51 -05:00
Kyle Spearrin
115c938956 sleep 30 seconds before running db migration 2018-03-09 22:55:43 -05:00
Kyle Spearrin
b51b135316 fix tabs 2018-03-08 17:16:10 -05:00
Kyle Spearrin
e9d0f76795 wait 7 seconds before updatedb 2018-02-24 23:24:05 -05:00
Kyle Spearrin
ec5466ec98 add braces 2018-02-20 11:15:16 -05:00
François Van Ingelgom
fefda383d1 Allow usage of default override file (#210)
* Updated run.sh to support default override

This is equivalent to run docker-compose in the directory of the project (here "docker"). See: https://docs.docker.com/compose/extends/

Override allows to change some paramaters and extend the original compose file to your own environment (network config, CPU/RAM caps,...)

* Updated run.ps1 to support docker override file

Same as run.sh

* Added conditionals for override file absence

I misunderstood the documentation, that file must exist if file is specified on command line, added conditionals to support that case

* Update run.ps1 to test for override file presence

Same as .sh
2018-02-20 11:09:47 -05:00