One-command self-hosting with Docker Compose
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
- Ambito
- devops, infrastructure
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
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
Dockerfileforbackend/and one forfrontend/(multi-stage, production dependencies only). - Add a root
docker-compose.ymlthat runs the backend, the frontend and Judge0 together, reusing the services indocker-compose.judge0.yml. - Keep the SQLite database on a named volume so data survives restarts.
- Read config from
backend/.envandfrontend/.env.localas 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 upbrings 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.jspasses.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sennaicodes/codearena
-
Add issue and pull request templatesForse di nuovo libera @franciscorodr26 l’ha presa 17 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
sennaicodes/codearena#13 · 1 commento ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
sennaicodes/codearena#33 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
sennaicodes/codearena#31 ·
Tutte le issue di sennaicodes/codearena
Issue simili
-
Clinic sharing: fast sync refusal message suggests Delete Data, which only developer builds haveApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
avniproject/avni-client#2228 ·
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
open-webui/open-webui#33196 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
`printf "%o"` prints decimalAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fable-compiler/Fable#5157 ·
I maintainer di solito rispondono entro 1 giorno
-
New tool: PaperBananaForse già presa @github-actions l’ha presa oggi. Apertasubmission triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
kausalflow/tools#243 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: apple-music area: build-release bug effort: small priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ChristianTabor/Argon#32 ·
I maintainer di solito rispondono entro 1 giorno