working state of application
This commit is contained in:
@@ -14,7 +14,7 @@ CSRF_SECRET=a5458481e4903286e26f4332751a9446
|
||||
PORT=8080
|
||||
|
||||
# Absolute path where bare git repositories are stored on disk
|
||||
REPO_ROOT=/Users/edwardrangel/Documents/Projects/ForgeBucket/.repos
|
||||
REPO_ROOT=/var/lib/forgebucket/repos
|
||||
|
||||
# ─── Federation (ActivityPub) ─────────────────────────────────────────────────
|
||||
# Public URL of this instance (no trailing slash)
|
||||
|
||||
+3
-3
@@ -1,14 +1,14 @@
|
||||
# ── Stage 1: Build frontend ───────────────────────────────────────────────────
|
||||
FROM node:22-alpine AS frontend-builder
|
||||
WORKDIR /app/frontend
|
||||
RUN npm install -g pnpm
|
||||
RUN npm install -g pnpm@10.33.4
|
||||
COPY frontend/package.json frontend/pnpm-lock.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY frontend/ ./
|
||||
RUN pnpm build
|
||||
RUN NODE_OPTIONS=--max-old-space-size=2048 pnpm build
|
||||
|
||||
# ── Stage 2: Build Go binary ──────────────────────────────────────────────────
|
||||
FROM golang:1.24-alpine AS go-builder
|
||||
FROM golang:1.26-alpine AS go-builder
|
||||
RUN apk add --no-cache git
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
@@ -2,14 +2,14 @@ version: "3.9"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
image: postgres:18.3
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: forgebucket
|
||||
POSTGRES_USER: forgebucket
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?required}
|
||||
POSTGRES_PASSWORD: forgebucket
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- postgres_data:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U forgebucket"]
|
||||
interval: 5s
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
condition: service_healthy
|
||||
env_file: .env
|
||||
environment:
|
||||
DATABASE_URL: postgres://forgebucket:${POSTGRES_PASSWORD}@postgres:5432/forgebucket?sslmode=disable
|
||||
DATABASE_URL: postgres://forgebucket:forgebucket@postgres:5432/forgebucket?sslmode=disable
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useState, useEffect, useRef, useCallback } from 'react'
|
||||
import { useState, useEffect, useRef } from 'react'
|
||||
import { Link, useNavigate } from 'react-router-dom'
|
||||
import { useAuth } from '../contexts/AuthContext'
|
||||
import { useDashboard } from '../api/queries/dashboard'
|
||||
|
||||
Reference in New Issue
Block a user