modifiche a .gitignore
This commit is contained in:
parent
ad53f4b891
commit
e69a49839c
5 changed files with 1736 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -32,8 +32,6 @@ yarn-error.log*
|
|||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
docker-compose.yml
|
||||
/dockerfile
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -19,13 +19,13 @@
|
|||
"last_updated": "2026-05-26T10:50:29Z"
|
||||
},
|
||||
"731e7bd5-9ce4-4dda-86ea-bdd9c970d98d": {
|
||||
"user_message_count": 10,
|
||||
"agent_message_count": 77,
|
||||
"user_message_count": 18,
|
||||
"agent_message_count": 124,
|
||||
"start_timestamp": "2026-05-25T16:48:14+02:00",
|
||||
"end_timestamp": "2026-05-25T16:48:14+02:00",
|
||||
"markdown_size_bytes": 62935,
|
||||
"markdown_size_bytes": 283555,
|
||||
"provider": "cursoride",
|
||||
"last_updated": "2026-05-26T11:38:19Z"
|
||||
"last_updated": "2026-05-26T12:13:12Z"
|
||||
},
|
||||
"d7bc1266-d345-4b18-9e6b-93aad0e832cc": {
|
||||
"user_message_count": 3,
|
||||
|
|
|
|||
39
docker-compose.yml
Normal file
39
docker-compose.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: dockerfile/Dockerfile
|
||||
container_name: next_magricambi
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
depends_on:
|
||||
- mysql
|
||||
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
container_name: mysql_magricambi
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||
MYSQL_DATABASE: ${MYSQL_DATABASE}
|
||||
MYSQL_USER: ${MYSQL_USER}
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||
volumes:
|
||||
- dbdata:/var/lib/mysql
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "127.0.0.1:8082:80"
|
||||
environment:
|
||||
PMA_HOST: mysql
|
||||
depends_on:
|
||||
- mysql
|
||||
|
||||
volumes:
|
||||
dbdata:
|
||||
|
||||
25
dockerfile/Dockerfile
Normal file
25
dockerfile/Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# BUILD
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
WORKDIR /magricambi
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
#PRODUCTION (standalone)
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /magricambi
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY --from=builder /magricambi/.next/standalone ./
|
||||
COPY --from=builder /magricambi/.next/static ./.next/static
|
||||
COPY --from=builder /magricambi/public ./public
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node","server.js"]
|
||||
Loading…
Add table
Reference in a new issue