Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

One-command self-hosting with Docker Compose

Aperta
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, docker-compose, javascript, next.js, node.js

Direzione di ricerca

Start by reading docker-compose.judge0.yml, the backend and frontend configuration in backend/.env and frontend/.env.local, and the root README.md; inspect the backend and frontend startup commands before defining their Docker builds. Add the two Dockerfiles and root Compose setup, keeping SQLite data in a named volume and secrets out of images. Done means docker compose up supports registration, practice and Judge0 execution at localhost:3000, data survives restart, the README explains how to run it, and node scripts/check-boundary.js passes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted

Self-hosting needs Node, two npm ci runs, two terminals and a separate Judge0. There is no Dockerfile for the app itself, only docker-compose.judge0.yml for the sandbox.

What to do

  • Add a Dockerfile for backend/ and one for frontend/ (multi-stage, production dependencies only).
  • Add a root docker-compose.yml that runs the backend, the frontend and Judge0 together, reusing the services in docker-compose.judge0.yml.
  • Keep the SQLite database on a named volume so data survives restarts.
  • Read config from backend/.env and frontend/.env.local as today. Do not bake secrets into images.
  • Add a short "Run with Docker" section to README.md.

Definition of done

  • On a clean machine, docker compose up brings up a working site at http://localhost:3000 where you can register, open a practice problem and run code through Judge0.
  • Restarting the stack keeps accounts and history.
  • node scripts/check-boundary.js passes.
Lingua principale
JavaScript
Stelle
0
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sennaicodes/codearena

Tutte le issue di sennaicodes/codearena

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.