Skip to content

Commit

Permalink
fix: overwrite fe nginx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Nov 18, 2024
1 parent a93431f commit ba7878e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SELECT type, grade, part, level, position, SUM(probability) probabilities
SELECT type, grade, part, level, position, SUM(probability) probabilities
FROM potential
GROUP BY type, grade, part, level, position
ORDER BY probabilities DESC;
17 changes: 17 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ services:
- traefik.http.routers.mapletool-fe.entrypoints=websecure
- traefik.http.routers.mapletool-fe.tls=true
- traefik.http.routers.mapletool-fe.tls.certresolver=letsencrypt
entrypoint:
- sh
- -euc
- |
cat <<EOF > /etc/nginx/conf.d/default.conf
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
location / {
try_files $uri /index.html;
index index.html;
}
}
EOF
nginx -g 'daemon off;'
be:
image: openjdk:21-jdk-slim
Expand Down
10 changes: 0 additions & 10 deletions frontend/nginx.conf

This file was deleted.

0 comments on commit ba7878e

Please sign in to comment.