Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b8dc86e90 | |||
| 27dcad3bcd | |||
| 91add2dd12 | |||
| a64493b502 | |||
| 7434f5d068 | |||
| ce71d83f8d | |||
| 700a8aaf34 | |||
| 3c82c5ff45 | |||
| a90683d2d9 | |||
| 1d650cf6ac | |||
| cba3686045 | |||
| 215b5a9341 | |||
| 9b2d03bdaf | |||
| 82aa61a36d | |||
| 79f987b8b6 | |||
| 174a56ac53 |
@@ -0,0 +1,10 @@
|
||||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
||||
|
||||
@@ -5,19 +5,21 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- v1.*
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker Image to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out The Repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Setup QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Get Smart Tag
|
||||
id: prepare
|
||||
@@ -26,13 +28,13 @@ jobs:
|
||||
docker_image: krgamestudios/auth-server
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Push to Docker Hub
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: ${{ steps.prepare.outputs.tag }}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
FROM node:22-bookworm-slim
|
||||
WORKDIR "/app"
|
||||
COPY package*.json /app
|
||||
RUN npm install --production
|
||||
RUN npm install --omit=dev
|
||||
COPY . /app
|
||||
EXPOSE 3200
|
||||
USER node
|
||||
|
||||
+1
-1
@@ -167,7 +167,7 @@ networks:
|
||||
FROM node:22-bookworm-slim
|
||||
WORKDIR "/app"
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
RUN npm install --omit=dev
|
||||
COPY . /app
|
||||
EXPOSE ${appPort}
|
||||
USER node
|
||||
|
||||
Generated
+666
-527
File diff suppressed because it is too large
Load Diff
+11
-11
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "auth-server",
|
||||
"version": "1.8.7",
|
||||
"version": "1.8.11",
|
||||
"description": "An API centric auth server. Uses Sequelize and mariaDB by default.",
|
||||
"main": "server/server.js",
|
||||
"scripts": {
|
||||
@@ -19,19 +19,19 @@
|
||||
},
|
||||
"homepage": "https://github.com/krgamestudios/auth-server#readme",
|
||||
"dependencies": {
|
||||
"bcryptjs": "^2.4.3",
|
||||
"cookie-parser": "^1.4.6",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"cookie-parser": "^1.4.7",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.4.5",
|
||||
"express": "^4.19.2",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"mariadb": "^3.3.0",
|
||||
"node-cron": "^3.0.3",
|
||||
"dotenv": "^17.2.3",
|
||||
"express": "^5.2.1",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"mariadb": "^3.4.5",
|
||||
"node-cron": "^4.2.1",
|
||||
"node-fetch": "^3.3.2",
|
||||
"nodemailer": "^6.9.13",
|
||||
"sequelize": "^6.37.3"
|
||||
"nodemailer": "^7.0.11",
|
||||
"sequelize": "^6.37.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.1.0"
|
||||
"nodemon": "^3.1.11"
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ app.use('/admin', require('./admin'));
|
||||
app.use('/auth', require('./auth'));
|
||||
|
||||
//error on access
|
||||
app.get('*', (req, res) => {
|
||||
app.get('/{*any}', (req, res) => {
|
||||
res.redirect('https://github.com/krgamestudios/auth-server');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user