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

44 Commits

Author SHA1 Message Date
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
Kyle Spearrin
fae34f1ee3 added pull when starting 2017-08-26 22:36:25 -04:00
Kyle Spearrin
e7351753c7 print environment after start 2017-08-24 11:16:01 -04:00
Kyle Spearrin
348fac01a5 set args based on count correctly 2017-08-23 20:05:53 -04:00
Kyle Spearrin
e7f713a805 proper arg counts on run script 2017-08-23 16:51:36 -04:00
Kyle Spearrin
9409ac8d85 updatedb fix 2017-08-23 16:42:39 -04:00
Kyle Spearrin
0733897cea script updates 2017-08-23 16:29:55 -04:00
Kyle Spearrin
a34e19206c condense scripts into run script 2017-08-23 16:15:42 -04:00
Kyle Spearrin
712e3f3477 rename run script to start 2017-08-21 11:58:15 -04:00
Kyle Spearrin
ecf3ce797e lets encrypt updates for sh scripts 2017-08-21 11:47:42 -04:00
Kyle Spearrin
a0a5bffec9 renew lets encrypt cert on run 2017-08-21 11:21:40 -04:00
Kyle Spearrin
74415b9955 script updates 2017-08-21 08:49:44 -04:00
Kyle Spearrin
9057815041 bash script updates 2017-08-19 21:45:13 -04:00
Kyle Spearrin
3ca8801af0 script fixes for mac 2017-08-19 15:27:57 -04:00
Kyle Spearrin
e822e66a79 setup updates and added mac support to conpose 2017-08-11 14:43:46 -04:00
Kyle Spearrin
e50b6240e4 run update 2017-08-08 15:52:42 -04:00
Kyle Spearrin
ee8b0a25a8 setup, build, and run scripts 2017-08-07 11:24:16 -04:00