Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add -k flag to ignore self-signed certs, refactor (#364)
Leendert de Borst50a18dc46132
diff --git a/.github/workflows/docker-compose-build.yml b/.github/workflows/docker-compose-build.ymlindex c35985177..5c92d0d32 100644--- a/.github/workflows/docker-compose-build.yml+++ b/.github/workflows/docker-compose-build.yml@@ -38,7 +38,7 @@ jobs:timeout_minutes: 2max_attempts: 3command: |- http_code=$(curl -s -o /dev/null -w "%{http_code}" https://localhost:443)+ http_code=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost:443)if [ "$http_code" -ne 200 ]; thenecho "Service did not respond with 200 OK. Check if client app is configured correctly."exit 1@@ -52,7 +52,7 @@ jobs:timeout_minutes: 2max_attempts: 3command: |- http_code=$(curl -s -o /dev/null -w "%{http_code}" https://localhost:4430)+ http_code=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost:4430)if [ "$http_code" -ne 200 ]; thenecho "Service did not respond with expected 200 OK. Check if WebApi is configured correctly."exit 1@@ -66,7 +66,7 @@ jobs:timeout_minutes: 2max_attempts: 3command: |- http_code=$(curl -s -o /dev/null -w "%{http_code}" https://localhost:4431/user/login)+ http_code=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost:4431/user/login)if [ "$http_code" -ne 200 ]; thenecho "Service did not respond with expected 200 OK. Check if admin app is configured correctly."exit 1diff --git a/src/AliasVault.Admin/Dockerfile b/src/AliasVault.Admin/Dockerfileindex d49be3ca3..3c0574358 100644--- a/src/AliasVault.Admin/Dockerfile+++ b/src/AliasVault.Admin/Dockerfile@@ -27,9 +27,9 @@ COPY --from=publish /app/publish .COPY /src/AliasVault.Admin/entrypoint.sh /app# Create SSL directory-RUN mkdir -p /app/ssl && chmod 755 /app/ssl+RUN mkdir -p /app/ssl && chmod 755 /app/ssl \+&& chmod +x /app/entrypoint.sh-RUN chmod +x /app/entrypoint.shEXPOSE 4431ENV ASPNETCORE_URLS=https://+:4431ENTRYPOINT ["/app/entrypoint.sh"]diff --git a/src/AliasVault.Api/Dockerfile b/src/AliasVault.Api/Dockerfileindex 31f3aeeb1..3ffdfd806 100644--- a/src/AliasVault.Api/Dockerfile+++ b/src/AliasVault.Api/Dockerfile@@ -26,9 +26,9 @@ COPY --from=publish /app/publish .COPY /src/AliasVault.Api/entrypoint.sh /app# Create SSL directory-RUN mkdir -p /app/ssl && chmod 755 /app/ssl+RUN mkdir -p /app/ssl && chmod 755 /app/ssl \+&& chmod +x /app/entrypoint.sh-RUN chmod +x /app/entrypoint.shEXPOSE 4430ENV ASPNETCORE_URLS=https://+:4430ENTRYPOINT ["/app/entrypoint.sh"]diff --git a/src/AliasVault.Client/Dockerfile b/src/AliasVault.Client/Dockerfileindex ba5617745..35ac3bdf1 100644--- a/src/AliasVault.Client/Dockerfile+++ b/src/AliasVault.Client/Dockerfile@@ -40,9 +40,8 @@ COPY /src/AliasVault.Client/nginx.conf /etc/nginx/nginx.confCOPY /src/AliasVault.Client/entrypoint.sh /app/# Create SSL directory-RUN mkdir -p /etc/nginx/ssl && chmod 755 /etc/nginx/ssl--RUN chmod +x /app/entrypoint.sh+RUN mkdir -p /etc/nginx/ssl && chmod 755 /etc/nginx/ssl \+&& chmod +x /app/entrypoint.shEXPOSE 80 443ENV ASPNETCORE_URLS=http://+:80;https://+:443