Only text on website, no backgrounds, no CSS, nothing

Aperta
#132 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
django, docker, docker-compose, python
Ambito
devops, frontend

Direzione di ricerca

Start by reviewing the issue’s changed web volume mappings and the Docker Compose configuration for static files; the report says the site loads without styling after static and media paths were changed. Check the project’s documented static file setup and any related issue discussion. Done means the site’s CSS and backgrounds load when files are stored on the requested drive; the thread is 419 days old, so check for a maintainer response before starting.

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

Descrizione

Hello, I freshly installed your docker image on my Almalinux server, and I'm having issues...

As far as I'm aware this shouldn't look like that:

Image

Only changes I did are the the container files to be stored on a different drive, but your compose file was set & done, so maybe I changed something that broken the look of the website. How to I fix this? Does your docker container really can be set only 1 way? (apart of few environments like dev, prod etc.)
I need to have all the files on a different drive, because almalinux is on a system ssd where only system is meant to exist.

What I changed:

,,services:
web:
image: wger/server:latest
depends_on:
db:
condition: service_healthy
cache:
condition: service_healthy
env_file:
- ./config/prod.env
volumes:
- static:/mnt/md0/containers_data/wger/static
- media:/mnt/md0/containers_data/media"

Lingua principale
Python
Stelle
333
Fork
161
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 wger-project/docker

Tutte le issue di wger-project/docker

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.