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: services:
nextjs-app: nextjs-app:
container_name: trackerdeq container_name: trackerdeq

View File

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

View File

@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev --turbopack", "dev": "next dev --turbopack -p 4173",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint"