Compare commits
5 Commits
9d5147c060
...
68187fe5c6
| Author | SHA1 | Date | |
|---|---|---|---|
| 68187fe5c6 | |||
| 627b999423 | |||
| feeba4ff00 | |||
| b9bf840c84 | |||
| 2af3030840 |
11
.env.development
Normal file
11
.env.development
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#XLSX
|
||||||
|
XLSX_AMOUNT_SOURCE=./example-data/saldos.xlsx
|
||||||
|
|
||||||
|
|
||||||
|
# Auth
|
||||||
|
AUTH_TRUST_HOST=false
|
||||||
|
AUTH_SECRET=fa428fc2e4c09d3b6dd914cfef0ddd1e
|
||||||
|
# Keycloak Configuration
|
||||||
|
KEYCLOAK_CLIENT_ID=karkarcar
|
||||||
|
KEYCLOAK_CLIENT_SECRET=fdI1OtyX0YNNUMqfcsbSMFTv9WfzQQwy
|
||||||
|
KEYCLOAK_ISSUER=http://localhost:8180/realms/master
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,3 +22,4 @@ pnpm-debug.log*
|
|||||||
|
|
||||||
# jetbrains setting folder
|
# jetbrains setting folder
|
||||||
.idea/
|
.idea/
|
||||||
|
data/
|
||||||
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
FROM node:lts AS base
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# By copying only the package.json and package-lock.json here, we ensure that the following `-deps` steps are independent of the source code.
|
||||||
|
# Therefore, the `-deps` steps will be skipped if only the source code changes.
|
||||||
|
COPY package.json package-lock.json ./
|
||||||
|
|
||||||
|
FROM base AS prod-deps
|
||||||
|
RUN npm install --omit=dev
|
||||||
|
|
||||||
|
FROM base AS build-deps
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
FROM build-deps AS build
|
||||||
|
COPY . .
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
FROM base AS runtime
|
||||||
|
COPY --from=prod-deps /app/node_modules ./node_modules
|
||||||
|
COPY --from=build /app/dist ./dist
|
||||||
|
|
||||||
|
ENV HOST=0.0.0.0
|
||||||
|
ENV PORT=4321
|
||||||
|
EXPOSE 4321
|
||||||
|
CMD node ./dist/server/entry.mjs
|
||||||
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: karkarcar_app
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- "4321:4321"
|
||||||
|
environment:
|
||||||
|
- HOST=0.0.0.0
|
||||||
|
- PORT=4321
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./example-data:/data
|
||||||
@@ -1 +0,0 @@
|
|||||||
,oier,XPS24,09.06.2025 18:50,file:///home/oier/.config/libreoffice/4;
|
|
||||||
Binary file not shown.
@@ -5,11 +5,7 @@ interface Props {
|
|||||||
|
|
||||||
const { title = "KarkarCar" } = Astro.props;
|
const { title = "KarkarCar" } = Astro.props;
|
||||||
|
|
||||||
import { Image } from 'astro:assets';
|
import '../styles/global.css'
|
||||||
import logo from './src/images/logo-urdina.png';
|
|
||||||
|
|
||||||
|
|
||||||
import './src/styles/global.css'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|||||||
Reference in New Issue
Block a user