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

31 Commits

Author SHA1 Message Date
Kyle Spearrin
aeca706302 include security headers 2018-08-31 12:55:54 -04:00
Ndr
f0ca4450d7 Move nginx.pid to directory with write permission (#350)
* Moving nginx.pid in /var/run/nginx

/var/run/nginx is owned by our application user, allowing it to delete nginx.pid

* Update nginx.pid filepath
2018-08-31 08:10:56 -04:00
Kyle Spearrin
3f0186f17a update mssql and nginx deps 2018-08-01 10:38:12 -04:00
Kyle Spearrin
1052951a96 restore on build. remove ps1 build scripts 2018-08-01 10:32:58 -04:00
Mart124
b3c48fd3fa Add a bitwarden label to docker images (#305)
* Add a bitwarden label to docker images

* Prefix label with reverse DNS
2018-06-09 08:17:16 -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
ce92462041 fix uid comparisons 2018-04-16 16:26:08 -04:00
Kyle Spearrin
1dce0ccb83 fix if when no currentid 2018-04-16 16:09:08 -04:00
Kyle Spearrin
b7a2e47bd9 map host docker group id to containers 2018-04-16 15:30:07 -04:00
Kyle Spearrin
d1a47ba808 make user homedir with helper 2018-04-02 21:11:32 -04:00
Kyle Spearrin
a3b522a6b0 Revert "make bitwarden user home dir"
This reverts commit 40242a78e5.
2018-04-02 21:08:54 -04:00
Kyle Spearrin
40242a78e5 make bitwarden user home dir 2018-04-02 19:58:37 -04:00
Kyle Spearrin
95b25246f1 step down from host root LUID 2018-03-27 22:57:30 -04:00
Kyle Spearrin
d6e84a1212 chown nginx logs and data protect admin 2018-03-27 21:37:35 -04:00
Kyle Spearrin
02403596b5 bash 2018-03-27 21:14:52 -04:00
Kyle Spearrin
2c2496d28f fix syntax for entrypoint ands 2018-03-27 17:16:25 -04:00
Kyle Spearrin
62535ae750 upsert bitwarden user 2018-03-27 16:38:11 -04:00
Kyle Spearrin
a205f40613 goso all the things 2018-03-27 14:55:33 -04:00
Kyle Spearrin
dadfc977ae chown deep directories 2018-03-26 14:29:08 -04:00
Kyle Spearrin
9ecff0048c set permissions on default.conf 2018-03-26 11:59:29 -04:00
Kyle Spearrin
aa78231f69 also need ssl cert dirs for nginx 2018-03-26 11:47:17 -04:00
Kyle Spearrin
5b08763ce5 proper bitwarden user 2018-03-26 11:32:35 -04:00
Kyle Spearrin
b8ed8853cd docker as non-root 2018-03-26 11:21:03 -04:00
Kyle Spearrin
f96911ed57 Revert "running as bitwarden user"
This reverts commit 19fa9bf806.
2018-03-23 22:16:57 -04:00
Kyle Spearrin
19fa9bf806 running as bitwarden user 2018-03-23 21:58:45 -04:00
Kyle Spearrin
c6ab727dee versioning images 2017-10-02 16:38:52 -04:00
Kyle Spearrin
ba64073683 Nginx 2017-08-23 22:39:31 -04:00
Kyle Spearrin
7ad3c4785b build script updates 2017-08-23 22:22:15 -04:00
Kyle Spearrin
3dd44ce4de more config on nginx server 2017-08-23 22:13:50 -04:00
Kyle Spearrin
3ca8801af0 script fixes for mac 2017-08-19 15:27:57 -04:00
Kyle Spearrin
2d26b5fbbd move attachments and nginx to util folder 2017-08-16 00:22:52 -04:00