port + devtools
This commit is contained in:
parent
e3e4c6f228
commit
e91dbaa056
|
|
@ -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
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nextjs-app:
|
nextjs-app:
|
||||||
container_name: trackerdeq
|
container_name: trackerdeq
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
46
package.json
46
package.json
|
|
@ -1,24 +1,24 @@
|
||||||
{
|
{
|
||||||
"name": "trackerdeq",
|
"name": "trackerdeq",
|
||||||
"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"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^19.0.0",
|
"react": "^19.0.0",
|
||||||
"react-dom": "^19.0.0",
|
"react-dom": "^19.0.0",
|
||||||
"next": "15.3.0"
|
"next": "15.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5",
|
"typescript": "^5",
|
||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/react": "^19",
|
"@types/react": "^19",
|
||||||
"@types/react-dom": "^19",
|
"@types/react-dom": "^19",
|
||||||
"@tailwindcss/postcss": "^4",
|
"@tailwindcss/postcss": "^4",
|
||||||
"tailwindcss": "^4"
|
"tailwindcss": "^4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue