mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
check if has port, resolves #365
This commit is contained in:
@@ -120,12 +120,14 @@ services:
|
||||
image: bitwarden/nginx:{{{CoreVersion}}}
|
||||
container_name: bitwarden-nginx
|
||||
restart: always
|
||||
{{#if HasPort}}
|
||||
ports:
|
||||
{{#if HttpPort}}
|
||||
- '{{{HttpPort}}}:8080'
|
||||
{{/if}}
|
||||
{{#if HttpsPort}}
|
||||
- '{{{HttpsPort}}}:8443'
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
volumes:
|
||||
- ../nginx:/etc/bitwarden/nginx
|
||||
|
||||
Reference in New Issue
Block a user