1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00
Commit Graph

212 Commits

Author SHA1 Message Date
Kyle Spearrin
bace4d0dcd bump docker versions 2018-09-18 08:23:24 -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
Kyle Spearrin
d120a1dab9 bump docker version 2018-08-27 16:26:25 -04:00
tionu
d35486cc4b cerbot email input error (#339)
when asking for an email address during certbot install, the given email address gets  joined with  the text "expiration reminders)". Thus cerbot install will fail.
Fixed the issue by setting suitable brackets.
2018-08-08 21:26:52 -04:00
Kyle Spearrin
9fce0fbcd7 Merge branch 'master' of github.com:bitwarden/core 2018-08-08 14:21:22 -04:00
Kyle Spearrin
7d26b45c39 bump web vault version 2018-08-08 14:21:14 -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
4ab95b64a8 update docker scripts 2018-08-07 16:50:17 -04:00
Kyle Spearrin
91765477c5 allow bwdata to exist for loading ca-certs 2018-07-26 15:29:46 -04:00
Kyle Spearrin
1a6a299560 update docker versions 2018-07-26 09:17:50 -04:00
Kyle Spearrin
6b94455b13 bump docker versions 2018-06-01 15:16:55 -04:00
Kyle Spearrin
850000ab26 capitalize Bitwarden 2018-05-31 21:47:06 -04:00
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
Kyle Spearrin
c924af2ade safety checks on output dir 2017-09-18 12:11:03 -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
bbf13bb3be formatting updates 2017-08-23 16:33:41 -04:00
Kyle Spearrin
0733897cea script updates 2017-08-23 16:29:55 -04:00
Kyle Spearrin
9af19bfcb8 update self path 2017-08-23 16:22:02 -04:00
Kyle Spearrin
a34e19206c condense scripts into run script 2017-08-23 16:15:42 -04:00
Kyle Spearrin
da9cdd9257 fix path again :( 2017-08-21 13:09:28 -04:00
Kyle Spearrin
8dd921aae9 fix lets encrypt path prop reference 2017-08-21 13:06:08 -04:00
Kyle Spearrin
7524054c12 prune images 2017-08-21 12:08:31 -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
e90dc470b7 path adjustments for lets encrypt 2017-08-21 11:39:49 -04:00
Kyle Spearrin
5fe587ea9f stage testing letsencrypt 2017-08-21 11:35:09 -04:00
Kyle Spearrin
437422ca60 silently make dirs 2017-08-21 11:24:39 -04:00
Kyle Spearrin
a0a5bffec9 renew lets encrypt cert on run 2017-08-21 11:21:40 -04:00
Kyle Spearrin
2cfea467d1 sql backups 2017-08-21 10:58:00 -04:00
Kyle Spearrin
5546d94f48 missing comma 2017-08-21 09:40:10 -04:00
Kyle Spearrin
c50b4657d6 stop script 2017-08-21 09:39:12 -04:00
Kyle Spearrin
0120b91d24 create dirs and invoke expression 2017-08-21 09:07:24 -04:00
Kyle Spearrin
74415b9955 script updates 2017-08-21 08:49:44 -04:00
Kyle Spearrin
f5681a0e80 download sh not ps1 2017-08-19 22:57:06 -04:00
Kyle Spearrin
eb5a6af2f0 move docker dir 2017-08-19 22:40:21 -04:00
Kyle Spearrin
aa56b51cb5 script updates 2017-08-19 21:55:34 -04:00
Kyle Spearrin
c7735f4e28 chmod run script 2017-08-19 21:47:15 -04:00
Kyle Spearrin
9057815041 bash script updates 2017-08-19 21:45:13 -04:00
Kyle Spearrin
b095a3b6fd main sh script 2017-08-19 17:59:04 -04:00
Kyle Spearrin
8bbaa40307 accept output param 2017-08-19 16:17:32 -04:00
Kyle Spearrin
df67bb796b more script fixes 2017-08-19 15:52:10 -04:00
Kyle Spearrin
3ca8801af0 script fixes for mac 2017-08-19 15:27:57 -04:00
Kyle Spearrin
22c8c91b0c move main script 2017-08-19 12:27:16 -04:00
Kyle Spearrin
374bb8305d bitwarden main script 2017-08-19 11:51:13 -04:00
Kyle Spearrin
7aaf185365 param for dockerDir 2017-08-19 11:22:25 -04:00
Kyle Spearrin
d179bddf94 rename to install 2017-08-19 10:54:32 -04:00
Kyle Spearrin
eef67f3043 update db scripts 2017-08-19 10:05:32 -04:00
Kyle Spearrin
fb80878bb0 update setup 2017-08-19 09:36:03 -04:00
Kyle Spearrin
02bb037e38 sick ascii art yo 2017-08-11 15:05:50 -04:00
Kyle Spearrin
e822e66a79 setup updates and added mac support to conpose 2017-08-11 14:43:46 -04:00
Kyle Spearrin
3ac1f87e12 env files for compose. fixes to push relays 2017-08-11 12:22:59 -04:00
Kyle Spearrin
e50b6240e4 run update 2017-08-08 15:52:42 -04:00
Kyle Spearrin
7389017d54 setup script updates 2017-08-08 15:48:45 -04:00
Kyle Spearrin
7cf54b0e4c setup for ssl certs 2017-08-08 14:35:31 -04:00
Kyle Spearrin
9bc6ba554a docker setup 2017-08-07 16:31:00 -04:00
Kyle Spearrin
ee8b0a25a8 setup, build, and run scripts 2017-08-07 11:24:16 -04:00
Kyle Spearrin
4a25abade8 docker support 2017-08-04 12:21:13 -04:00