Skip to content

Commit

Permalink
Main
Browse files Browse the repository at this point in the history
  • Loading branch information
mdiener21 committed Nov 30, 2024
1 parent 5f73388 commit 7cee162
Show file tree
Hide file tree
Showing 304 changed files with 26 additions and 1,247 deletions.
52 changes: 0 additions & 52 deletions .env-sample

This file was deleted.

34 changes: 17 additions & 17 deletions devops/docker/local/client_app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Dockerfile
FROM node:18.12.1-alpine
# Use Node.js LTS (Long Term Support) image
FROM node:18.20.5-alpine AS base

# create destination directory
RUN mkdir -p /app
# Create app directory
WORKDIR /app

# update and install dependency
RUN apk update && apk upgrade
RUN apk add git
# Copy package files
COPY package*.json ./

# copy the app, note .dockerignore
COPY . /app/
# Install the dependencies
RUN yarn install
# Install dependencies
RUN npm install
RUN npm install --save-dev @babel/plugin-proposal-private-property-in-object

RUN yarn install --save-dev @babel/plugin-proposal-private-property-in-object
# Run
FROM base

RUN yarn run build
COPY --from=base /app/node_modules /app/node_modules

# Expose the development port
EXPOSE 3000

ENV NUXT_HOST=0.0.0.0
ENV NUXT_PORT=3000
# Set the NODE_OPTIONS environment variable
# Set host to allow external connections
ENV HOST=0.0.0.0
ENV PORT=3000
ENV NODE_OPTIONS="--openssl-legacy-provider"

CMD [ "npm", "start" ]
# Start development server
CMD ["npm", "run", "dev"]
42 changes: 0 additions & 42 deletions devops/docker/local/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,50 +1,8 @@
FROM node:18.12.1-alpine as build

# Set the working directory inside the container
WORKDIR /app

# Copy the package.json and package-lock.json files to the container
COPY package*.json ./

# Install the dependencies
RUN npm install

RUN npm install --save-dev @babel/plugin-proposal-private-property-in-object

# Set the NODE_OPTIONS environment variable
ENV NODE_OPTIONS="--openssl-legacy-provider"


# Copy the entire app directory to the container
COPY . .

# Generate the Nuxt.js static files
RUN npm version patch --git-tag-version false && npx nuxt generate

# Use the official Nginx image as the base image
FROM nginx:1.22.1

ARG ENV_TYPE
ARG WEB_FOLDER

# WORKDIR /var/www/indrz
WORKDIR /usr/share/nginx/html

# COPY devops/docker/local/nginx/conf/allowed.conf /etc/nginx/allowed.conf
# COPY devops/docker/local/nginx/conf/locations.conf /etc/nginx/locations.conf


# Copy the NGINX configuration file to the container
COPY devops/docker/local/nginx/conf/default-dev.conf /etc/nginx/conf.d/default.conf

# RUN mkdir -p /var/www/indrz

# Copy the built static site from the previous stage to the container
#COPY --from=build ./app/dist/ /var/www/indrz
COPY --from=build ./app/dist /usr/share/nginx/html

# Expose port 80
# EXPOSE 80

# Start Nginx when the container starts
# CMD ["nginx", "-g", "daemon off;"]
4 changes: 0 additions & 4 deletions devops/docker/local/nginx/conf/allowed.conf

This file was deleted.

14 changes: 9 additions & 5 deletions devops/docker/local/nginx/conf/default-dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ server {
# set client max upload body size to#
client_max_body_size 50M;

location / {
proxy_pass http://frontend:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# root /usr/share/nginx/html;
# index index.html index.htm;
}

# API Django backend
location /api {
proxy_pass http://indrz_api:8000;
Expand Down Expand Up @@ -42,11 +51,6 @@ server {
proxy_set_header X-Script-Name /geoserver;
}

location / {
# root /var/www/indrz;
root /usr/share/nginx/html;
index index.html index.htm;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
Expand Down
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 0 additions & 11 deletions static/README.md

This file was deleted.

53 changes: 0 additions & 53 deletions static/data/space-types.json

This file was deleted.

Binary file removed static/favicon.ico
Binary file not shown.
Binary file removed static/icon.png
Binary file not shown.
Binary file removed static/images/default_poi_image.png
Binary file not shown.
Binary file removed static/images/directions.png
Binary file not shown.
Binary file removed static/images/help/floor-changer.jpg
Binary file not shown.
Binary file removed static/images/help/poi.jpg
Binary file not shown.
Binary file removed static/images/help/routing.jpg
Binary file not shown.
Binary file removed static/images/help/search.jpg
Binary file not shown.
Binary file removed static/images/help/share.jpg
Binary file not shown.
Binary file removed static/images/help/zoom.jpg
Binary file not shown.
Binary file removed static/images/icons/access_entrance_24.png
Binary file not shown.
Binary file removed static/images/icons/access_entrance_active_24.png
Binary file not shown.
Binary file removed static/images/icons/elevator.png
Binary file not shown.
Binary file removed static/images/icons/entrance_24.png
Binary file not shown.
Binary file removed static/images/icons/entrance_active_24.png
Binary file not shown.
Binary file removed static/images/icons/mylocation-sprite-1x.png
Binary file not shown.
Binary file removed static/images/icons/navigatur_logo-138.png
Binary file not shown.
Binary file removed static/images/icons/navigatur_logo-32.png
Binary file not shown.
Binary file removed static/images/icons/navigatur_logo-72.png
Binary file not shown.
Binary file removed static/images/icons/re-center.png
Binary file not shown.
Binary file removed static/images/icons/routing/flag-blue.png
Diff not rendered.
Binary file removed static/images/icons/routing/flag-checkered-blue.png
Diff not rendered.
Binary file removed static/images/icons/routing/flag-checkered.png
Diff not rendered.
Binary file removed static/images/icons/routing/flag.png
Diff not rendered.
Binary file removed static/images/icons/routing/route_end.png
Diff not rendered.
Binary file removed static/images/icons/routing/route_mid.png
Diff not rendered.
Binary file removed static/images/icons/routing/route_start.png
Diff not rendered.
Binary file removed static/images/icons/search/book.png
Diff not rendered.
Binary file removed static/images/icons/search/department.png
Diff not rendered.
Binary file removed static/images/icons/search/person.png
Diff not rendered.
Binary file removed static/images/icons/search/poi.png
Diff not rendered.
Binary file removed static/images/icons/search/space.png
Diff not rendered.
Binary file removed static/images/icons/stairs_32.png
Diff not rendered.
Binary file removed static/images/icons/tu-logo-138.png
Diff not rendered.
Binary file removed static/images/icons/tu-logo-32.png
Diff not rendered.
Binary file removed static/images/icons/wc_32.png
Diff not rendered.
Binary file removed static/images/icons/wc_damen_32.png
Diff not rendered.
Binary file removed static/images/icons/wc_herren_32.png
Diff not rendered.
Binary file removed static/images/inactive_default_grey_pin.png
Diff not rendered.
Binary file removed static/images/indrz-box-blue-on-white-100px.png
Diff not rendered.
Binary file removed static/images/indrz-box-blue-on-white-200px.png
Diff not rendered.
Binary file removed static/images/indrz-logo-v3_50x50px.png
Diff not rendered.
Binary file removed static/images/indrz-powered-by-90px.png
Diff not rendered.
Binary file removed static/images/logo-indrz-with-name.png
Diff not rendered.
Binary file removed static/images/logo-left-panel.png
Diff not rendered.
Binary file removed static/images/poi-editor-background.jpeg
Diff not rendered.
Diff not rendered.
Binary file removed static/images/route/access_entrance_entrance.png
Diff not rendered.
Binary file removed static/images/route/access_entrance_exit.png
Diff not rendered.
Binary file removed static/images/route/access_information_info.png
Diff not rendered.
Binary file removed static/images/route/access_other_lift.png
Diff not rendered.
Binary file removed static/images/route/access_other_meetingpoint.png
Diff not rendered.
Binary file removed static/images/route/access_other_rampdown.png
Diff not rendered.
Binary file removed static/images/route/access_other_rampup.png
Diff not rendered.
Binary file removed static/images/route/access_other_stairs.png
Diff not rendered.
Binary file removed static/images/route/access_other_stairsdown.png
Diff not rendered.
Binary file removed static/images/route/access_other_stairsup.png
Diff not rendered.
Binary file removed static/images/route/access_parking.png
Diff not rendered.
Binary file removed static/images/route/access_parking_bike.png
Diff not rendered.
Binary file removed static/images/route/access_parking_bikecovered.png
Diff not rendered.
Binary file removed static/images/route/access_parking_delivery.png
Diff not rendered.
Binary file removed static/images/route/access_parking_machine.png
Diff not rendered.
Binary file removed static/images/route/access_parking_motorbike.png
Diff not rendered.
Binary file removed static/images/route/access_parking_p1.png
Diff not rendered.
Binary file removed static/images/route/access_parking_p2.png
Diff not rendered.
Binary file removed static/images/route/access_parking_p3.png
Diff not rendered.
Binary file removed static/images/route/access_parking_p4.png
Diff not rendered.
Binary file removed static/images/route/access_parking_parking.png
Diff not rendered.
Binary file removed static/images/route/access_public_bus.png
Diff not rendered.
Binary file removed static/images/route/access_public_taxi.png
Diff not rendered.
Binary file removed static/images/route/access_public_ubahn.png
Diff not rendered.
Binary file removed static/images/route/access_smoking_allowed.png
Diff not rendered.
Binary file removed static/images/route/autocomplete_org.png
Diff not rendered.
Binary file removed static/images/route/autocomplete_person.png
Diff not rendered.
Binary file removed static/images/route/autocomplete_poi.png
Diff not rendered.
Binary file removed static/images/route/autocomplete_room.png
Diff not rendered.
Binary file removed static/images/route/backgroundswitcher_karte_de.png
Diff not rendered.
Binary file removed static/images/route/backgroundswitcher_map.png
Diff not rendered.
Binary file removed static/images/route/backgroundswitcher_map_en.png
Diff not rendered.
Binary file removed static/images/route/backgroundswitcher_sat.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed static/images/route/bus.png
Diff not rendered.
86 changes: 0 additions & 86 deletions static/images/route/bus.svg
Diff not rendered.
Binary file removed static/images/route/close.png
Diff not rendered.
Loading

0 comments on commit 7cee162

Please sign in to comment.