1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

build events container into docker deployment

This commit is contained in:
Kyle Spearrin
2019-07-09 14:49:34 -04:00
parent da5c385d4a
commit f97539d558
7 changed files with 103 additions and 0 deletions

View File

@ -118,6 +118,18 @@ services:
- ../env/uid.env
- ../env/global.override.env
events:
image: bitwarden/events:{{{CoreVersion}}}
container_name: bitwarden-events
restart: always
volumes:
- ../ca-certificates:/etc/bitwarden/ca-certificates
- ../logs/events:/etc/bitwarden/logs
env_file:
- global.env
- ../env/uid.env
- ../env/global.override.env
nginx:
image: bitwarden/nginx:{{{CoreVersion}}}
container_name: bitwarden-nginx

View File

@ -113,6 +113,10 @@ server {
proxy_set_header Connection $http_connection;
}
location /events/ {
proxy_pass http://events:5000/;
}
location /admin {
proxy_pass http://admin:5000;
{{#if Ssl}}