Browse Source

use non-root port for apache

keep-around/228b246f8ed2d2641e2bc688e87bbb20c089b33f
Girish Ramakrishnan 1 year ago
parent
commit
8ce326f680
  1. 2
      CloudronManifest.json
  2. 1
      Dockerfile
  3. 2
      apache.conf

2
CloudronManifest.json

@ -8,7 +8,7 @@
"tagline": "Rust implementation of the Bitwarden API",
"version": "1.0.1",
"healthCheckPath": "/healthcheck",
"httpPort": 80,
"httpPort": 8000,
"addons": {
"localstorage": {},
"mysql": {},

1
Dockerfile

@ -29,6 +29,7 @@ RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
RUN a2disconf other-vhosts-access-log
COPY apache.conf /etc/apache2/sites-enabled/bitwarden.conf
RUN a2enmod proxy proxy_http proxy_wstunnel rewrite
RUN echo "Listen 8000" > /etc/apache2/ports.conf
# configure supervisor
ADD supervisor/ /etc/supervisor/conf.d/

2
apache.conf

@ -1,4 +1,4 @@
<VirtualHost *:80>
<VirtualHost *:8000>
DocumentRoot /app/code
ErrorLog "/dev/stderr"

Loading…
Cancel
Save