-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38559e3
commit ec672a5
Showing
32 changed files
with
5,872 additions
and
534 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,3 @@ yarn-error.log* | |
|
||
# vercel | ||
.vercel | ||
|
||
# packages | ||
yarn.lock | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM nginx | ||
RUN mkdir -p /var/www | ||
COPY ./out /var/www/html | ||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf | ||
FROM mundotv789123/raspadmin:java | ||
|
||
ENV spring_web_resources_static-locations='file:/app/front' | ||
|
||
COPY ./out /app/front |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM node:18 AS build | ||
|
||
WORKDIR /app | ||
COPY . . | ||
RUN cp .env.example .env | ||
RUN npm install | ||
RUN npm run build | ||
FROM node:20 | ||
WORKDIR /app | ||
COPY . . | ||
RUN cp .env.example .env | ||
RUN npm install | ||
RUN npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,29 @@ | ||
version: '3.1' | ||
services: | ||
frontend: | ||
image: 'mundotv789123/raspadmin:front' | ||
ports: | ||
- '8080:80' | ||
database: | ||
image: 'mariadb:11' | ||
environment: | ||
- MARIADB_DATABASE=raspadmin | ||
- MARIADB_ROOT_PASSWORD=secret | ||
volumes: | ||
- './mysql:/var/lib/mysql' | ||
|
||
app: | ||
image: 'mundotv789123/raspadmin' | ||
environment: | ||
- 'FILES_PATH=/app/files' | ||
- 'MEDIA_THUMB=true' | ||
|
||
backend: | ||
image: 'mundotv789123/raspadmin:java' | ||
- 'AUTH_ENABLED=false' | ||
- 'USERNAME=admin' | ||
- 'PASSWORD=admin' | ||
|
||
- 'DB_TYPE=mysql' | ||
- 'MYSQL_HOST=database' | ||
- 'MYSQL_DB=raspadmin' | ||
- 'MYSQL_USER=root' | ||
- 'MYSQL_PASSWORD=secret' | ||
volumes: | ||
- './data:/app/data' | ||
- './files:/app/files' | ||
ports: | ||
- '8080:8080' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { dirname } from "path"; | ||
import { fileURLToPath } from "url"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = dirname(__filename); | ||
|
||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
}); | ||
|
||
const eslintConfig = [ | ||
...compat.extends("next/core-web-vitals", "next/typescript"), | ||
]; | ||
|
||
export default eslintConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import type { NextConfig } from "next"; | ||
|
||
const nextConfig: NextConfig = { | ||
output: 'export', | ||
reactStrictMode: true, | ||
compiler: { | ||
styledComponents: { | ||
ssr: true, | ||
displayName: true, | ||
}, | ||
} | ||
}; | ||
|
||
export default nextConfig; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.