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

99 Commits

Author SHA1 Message Date
Mart124
c96ab26053 Avoid error messages when self updating (#300) 2018-05-31 14:35:54 -04:00
Kyle Spearrin
5f002a20f1 formatting on run script 2018-05-31 13:49:41 -04:00
Kyle Spearrin
4d33b3e1da format PowerShell scripts 2018-05-31 13:43:04 -04:00
Kyle Spearrin
dfb5890bdf merge install into run script 2018-05-31 13:42:00 -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
adc97f82f5 docker version bump 2018-04-17 08:50:55 -04:00
Kyle Spearrin
b7a2e47bd9 map host docker group id to containers 2018-04-16 15:30:07 -04:00
Kyle Spearrin
a790c37fcc docker version bump 2018-04-02 21:35:08 -04:00
Kyle Spearrin
11a373d846 docker version bump 2018-04-02 09:23:03 -04:00
Kyle Spearrin
005a97d0b0 fix echos 2018-03-30 10:07:16 -04:00
Kyle Spearrin
15827cb4ca add some color to scripts 2018-03-30 10:01:01 -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
2b6e702666 fix e on install too 2018-03-27 17:01:19 -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
73183a317c docker web version bump 2018-03-22 08:50:02 -04:00
Kyle Spearrin
1f27c039cc docker version bump 2018-03-21 10:49:12 -04:00
Kyle Spearrin
9393d08e3e docker version bump 2018-03-12 11:49:04 -04:00
Kyle Spearrin
8ca9c351fc revert docker version update 2018-03-11 00:46:58 -05:00
Kyle Spearrin
6179813c9a up sleep to 60 seconds 2018-03-10 23:53:21 -05:00
Kyle Spearrin
be35cab9da docker version bump 2018-03-10 21:28:51 -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
53e83efcbd bump docker versions 2017-12-05 11:04:42 -05:00
Kyle Spearrin
02bbf34050 docker verison bump 2017-11-13 21:26:59 -05:00
Kyle Spearrin
c9a2e67d09 update install script params 2017-11-09 00:18:35 -05:00
Kyle Spearrin
0383e66449 download run file too when you install 2017-11-08 23:51:24 -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
97bfa00657 data dir doesnt need to exist to updateself 2017-10-20 08:40:53 -04:00
Kyle Spearrin
0e247b711d default to localhost if no domain provided 2017-10-20 08:34:16 -04:00
Kyle Spearrin
5db8649b44 version bump on docker 2017-10-06 09:57:17 -04:00
Kyle Spearrin
f2ae8bc132 tag setup 2017-10-03 23:20:09 -04:00
Kyle Spearrin
c95664c196 rename dir to bwdata 2017-10-03 16:34:39 -04:00
Kyle Spearrin
27fcd9c58f win no longer requires mssql volume 2017-10-02 14:49:42 -04:00
Kyle Spearrin
448e536ba4 add back downloadallfiles function 2017-09-18 12:14:39 -04:00