Update some things. Default URL changed for VPS.

This commit is contained in:
2025-12-18 16:19:43 +00:00
parent 74f6dfa66d
commit cf44635c72
10 changed files with 635 additions and 613 deletions

View File

@@ -13,8 +13,8 @@ RUN pnpm install
COPY . .
# Build the project
RUN pnpm run prebuild
RUN pnpm run build
#RUN pnpm run prebuild
RUN pnpm build
# Stage 2: Serve the app using the same version of Node
FROM node:18-alpine

View File

@@ -5,7 +5,7 @@ networks:
services:
bang:
build:
context: ../
context: ..
dockerfile: docker/Dockerfile
image: gib/bang:latest
container_name: bang

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Function to check if we're in the correct directory
check_directory() {

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Podman Compose: Bang
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
WorkingDirectory=/home/gib/Server/Search/Bang/docker
ExecStart=/usr/bin/podman compose up -d
ExecStop=/usr/bin/podman compose down
RemainAfterExit=yes
TimeoutStopSec=60
[Install]
WantedBy=multi-user.target

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Function to check if we're in the correct directory
check_directory() {
@@ -45,7 +45,6 @@ if ! check_directory; then
fi
git pull
pnpm build
cd docker || exit 1
sudo podman compose down
sudo podman compose up -d