port + devtools

This commit is contained in:
root 2025-04-22 00:40:22 +02:00
parent e3e4c6f228
commit e91dbaa056
4 changed files with 24 additions and 61 deletions

View File

@ -1,35 +0,0 @@
name: Deploy Docker Compose
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest # Use the Ubuntu runner
steps:
- name: Checkout repository
uses: actions/checkout@v2 # Checkout your repository code
- name: Install Docker
run: |
sudo apt-get update
sudo apt-get install -y docker.io # Install Docker
sudo usermod -aG docker $USER # Add the current user to the docker group (optional)
docker --version # Verify Docker installation
- name: Install Docker Compose
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version # Verify Docker Compose installation
- name: Deploy using Docker Compose
env: # Inject secrets into environment variables
RIOT_APIKEY: ${{ secrets.RIOT_APIKEY }}
run: |
docker-compose build --build-arg RIOT_APIKEY=${RIOT_APIKEY}
docker-compose -f docker-compose.yaml up -d # Start the containers in detached mode
docker-compose logs # Display logs from the containers to show output

View File

@ -1,5 +1,3 @@
version: "3"
services:
nextjs-app:
container_name: trackerdeq

View File

@ -1,7 +1,7 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
devIndicators: false
};
export default nextConfig;

View File

@ -1,24 +1,24 @@
{
"name": "trackerdeq",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"next": "15.3.0"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@tailwindcss/postcss": "^4",
"tailwindcss": "^4"
}
}
"name": "trackerdeq",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack -p 4173",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"next": "15.3.0"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@tailwindcss/postcss": "^4",
"tailwindcss": "^4"
}
}