1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
Commit Graph

66 Commits

Author SHA1 Message Date
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
Paul Williams
162150691c Remove -t from docker run commands (#184)
Allows running the update commands from cron without getting the TTY error listed in https://github.com/bitwarden/core/issues/180 

Given what happens when each of these docker run commands execute, it seems like the -t flag is unnecessary.  Based on this helpful explanation of the -i and -t flags for docker run:  https://gist.github.com/v0lkan/c413cf9477b607db1ea1117c9de853df
2018-01-14 21:27:44 -05:00
Kyle Spearrin
13ad536d9c update docker version refs 2017-12-28 22:12:39 -05:00
Kyle Spearrin
fe70a35163 revert run file updates for now. 2017-12-20 23:38:27 -05:00
Kyle Spearrin
4ccbf318b6 correct mssql container name 2017-12-20 23:16:04 -05:00
Kyle Spearrin
8944c49484 self host script updates 2017-11-08 22:24:23 -05:00
Kyle Spearrin
1e60c1d545 update docker assets 2017-10-28 20:51:17 -04:00
Kyle Spearrin
3e04377e67 run setup update command on updates 2017-10-25 17:21:35 -04:00
Kyle Spearrin
f2ae8bc132 tag setup 2017-10-03 23:20:09 -04:00
Kyle Spearrin
27fcd9c58f win no longer requires mssql volume 2017-10-02 14:49:42 -04:00
Kyle Spearrin
43199e9a44 more pulling 2017-08-26 22:54:10 -04:00