Update Node.js to v21 #2
3 changed files with 11 additions and 3 deletions
|
@ -11,7 +11,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: node:21-bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare requirements
|
- name: Prepare requirements
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: node:21-bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare requirements
|
- name: Prepare requirements
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -111,7 +111,7 @@ services:
|
||||||
image: git.myservermanager.com/varakh/upda:latest
|
image: git.myservermanager.com/varakh/upda:latest
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
- DB_FILE=/data/upda.db
|
- DB_SQLITE_FILE=/data/upda.db
|
||||||
- ADMIN_USER=admin
|
- ADMIN_USER=admin
|
||||||
- ADMIN_PASSWORD=changeit
|
- ADMIN_PASSWORD=changeit
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -158,5 +158,13 @@ server {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
# metrics
|
||||||
|
location ~* ^/metrics {
|
||||||
|
proxy_pass http://localhost:8080;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue