Skip to content

Commit

Permalink
Merge branch 'develop' into feature/filter-heatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
shami-sneha committed Aug 15, 2023
2 parents c520edb + 4c92607 commit db786ea
Show file tree
Hide file tree
Showing 15 changed files with 928 additions and 1,023 deletions.
4 changes: 4 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ DB_PORT=5432
# PGADMIN admin user
[email protected]
PGADMIN_PASSWORD=root

# Frontend
ESID_PORT=8080
ESID_BRANCH=latest
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
*.tar

# ignore user/workspace settings etc. of VSCode
.vscode
3 changes: 2 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ ENV PYTHONUNBUFFERED 1
RUN set -x && \
apt-get update && \
apt -f install && \
apt-get -qy install netcat && \
apt-get -qy install netcat-traditional && \
rm -rf /var/lib/apt/lists/* && \
wget -O /wait-for https://raw.githubusercontent.com/eficode/wait-for/master/wait-for && \
chmod +x /wait-for

CMD ["sh", "/entrypoint-startup.sh"]
COPY ./docker/entrypoint-startup.sh /

COPY ./.env ./.env
COPY ./requirements ./requirements

RUN pip install numpy scipy pandas tqdm
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
- db

frontend:
image: esid/frontend:latest
image: esid/frontend:${ESID_BRANCH}
restart: always
build:
context: frontend/
Expand All @@ -56,7 +56,7 @@ services:
PROXY_PORT: 8000
HOST: ${HOST}
ports:
- 8080:80
- ${ESID_PORT}:80
depends_on:
- backend

Expand Down
3 changes: 3 additions & 0 deletions frontend/.env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ PROXY_HOST=http://localhost
API_URL=

HOST=localhost

ESID_PORT=8080
ESID_BRANCH=latest
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app
#copy all the folder contents from local to container
COPY . .

COPY ./.env.docker ./.env
COPY ./.env ./.env

#Run command npm install to install packages
RUN npm install
Expand Down
6 changes: 3 additions & 3 deletions frontend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: '3.9'
version: '3.7'
services:
frontend:
build:
context: .
dockerfile: Dockerfile
image: esid/frontend:latest
image: esid/frontend:${ESID_BRANCH}
environment:
HOST: ${HOST}
API_URL: ${API_URL}
PROXY_HOST: ${PROXY_HOST}
PROXY_PORT: ${PROXY_PORT}
ports:
- '8080:80'
- ${ESID_PORT}:80
1 change: 1 addition & 0 deletions frontend/docs/changelog/changelog-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Es wurden einige Verbesserungen gemacht, die das Laden der Seite beschleunigen.
- Wenn neue Funktionen zur Verfügung gestellt werden, wird der Browser-Cache nicht mehr verhindern, dass Benutzer:innen diese sehen.
- Das DLR-Logo wurde durch das LOKI-Logo ersetzt und verkleinert.
- Das Modul für das Liniendiagramm wurde von AmCharts 4 auf 5 gewechselt für eine bessere Leistung.

### Fehlerbehebungen

Expand Down
1 change: 1 addition & 0 deletions frontend/docs/changelog/changelog-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Some improvements to page load speed have been made.
- If a new feature gets rolled out, the browser cache will no longer prevent the users from seeing it.
- The DLR logo was replaced by the LOKI logo and the size was reduced.
- The line chart module is upgraded from AmCharts 4 to 5 for better performance.

### Bug fixes

Expand Down
Loading

0 comments on commit db786ea

Please sign in to comment.