fix comments

This commit is contained in:
einhornimmond 2025-04-30 15:07:39 +02:00
parent 21fc7cd5f1
commit 54eff64256
7 changed files with 13 additions and 37 deletions

View File

@ -57,7 +57,7 @@ RUN apk update && apk add --no-cache libc6-compat \
&& yarn cache clean
##################################################################################
# BUILDER (create partly monorepo only with data needed by dht-node) #############
# BUILDER (create partly monorepo only with data needed by admin) ################
##################################################################################
FROM turbo-base as builder
@ -65,7 +65,7 @@ COPY --chown=app:app . .
RUN turbo prune admin --docker
##################################################################################
# INSTALLER (create production image) ##############################################
# INSTALLER (create production image) ############################################
##################################################################################
FROM turbo-base AS installer
@ -92,7 +92,7 @@ CMD /bin/sh -c "turbo admin#test --env-mode=loose"
##################################################################################
FROM lipanski/docker-static-website:latest as production
# TODO: Improve size from 50 MB down to 2 MB with lipanski/docker-static-website:latest
# tiny static webserver
# https://lipanski.com/posts/smallest-docker-image-static-website
# copy builded frontend files

View File

@ -54,7 +54,7 @@ RUN apk update && apk add --no-cache libc6-compat \
&& yarn cache clean
##################################################################################
# BUILDER (create partly monorepo only with data needed by dht-node) #############
# BUILDER (create partly monorepo only with data needed by backend) ##############
##################################################################################
FROM turbo-base as builder
@ -63,7 +63,7 @@ RUN turbo prune backend --docker
##################################################################################
# INSTALLER (create production image) ##############################################
# INSTALLER (create production image) ############################################
##################################################################################
FROM turbo-base AS installer

View File

@ -48,7 +48,7 @@ RUN apk update && apk add --no-cache libc6-compat \
##################################################################################
# BUILDER (create partly monorepo only with data needed by dht-node) #############
# BUILDER (create partly monorepo only with data needed by database) #############
##################################################################################
FROM turbo-base as builder
@ -56,7 +56,7 @@ COPY --chown=app:app . .
RUN turbo prune database --docker
##################################################################################
# INSTALLER (create production image) ##############################################
# INSTALLER (create production image) ############################################
##################################################################################
FROM turbo-base AS installer

View File

@ -65,7 +65,7 @@ COPY --chown=app:app . .
RUN turbo prune dht-node --docker
##################################################################################
# INSTALLER (create production image) ##############################################
# INSTALLER (create production image) ############################################
##################################################################################
FROM turbo-base AS installer

View File

@ -54,7 +54,7 @@ RUN apk update && apk add --no-cache libc6-compat \
&& yarn cache clean
##################################################################################
# BUILDER (create partly monorepo only with data needed by dht-node) #############
# BUILDER (create partly monorepo only with data needed by federation) ###########
##################################################################################
FROM turbo-base as builder
@ -63,7 +63,7 @@ RUN turbo prune federation --docker
##################################################################################
# INSTALLER (create production image) ##############################################
# INSTALLER (create production image) ############################################
##################################################################################
FROM turbo-base AS installer

View File

@ -57,7 +57,7 @@ RUN apk update && apk add --no-cache libc6-compat \
##################################################################################
# BUILDER (create partly monorepo only with data needed by dht-node) #############
# BUILDER (create partly monorepo only with data needed by frontend) #############
##################################################################################
FROM turbo-base as builder
@ -65,7 +65,7 @@ COPY --chown=app:app . .
RUN turbo prune frontend --docker
##################################################################################
# INSTALLER (create production image) ##############################################
# INSTALLER (create production image) ############################################
##################################################################################
FROM turbo-base AS installer
@ -93,7 +93,7 @@ CMD /bin/sh -c "turbo frontend#test --env-mode=loose"
##################################################################################
FROM lipanski/docker-static-website:latest as production
# TODO: Improve size from 50 MB down to 2 MB with lipanski/docker-static-website:latest
# tiny static webserver
# https://lipanski.com/posts/smallest-docker-image-static-website
# copy builded frontend files

View File

@ -4,18 +4,6 @@ server {
listen 80;
listen [::]:80;
#include /etc/nginx/common/protect.conf;
#include /etc/nginx/common/protect_add_header.conf;
#include /etc/nginx/common/ssl.conf;
#gzip_static on;
# Legacy URLS
set $REWRITE_LEGACY_URLS "true";
if ($REWRITE_LEGACY_URLS = 'true') {
rewrite ^/vue/?(.*)$ /$1 permanent;
}
# Frontend (default)
location / {
proxy_http_version 1.1;
@ -69,16 +57,4 @@ server {
proxy_redirect off;
}
# TODO this could be a performance optimization
#location /vue {
# alias /var/www/html/gradido/frontend/build;
# index index.html;
#
# location ~* \.(png)$ {
# expires 39d;
# }
# try_files $uri $uri/ /index.html = 404;
#}
#access_log /var/log/nginx/access.log main;
}