Wirecloud / docker-wirecloud

๐Ÿณ Docker Official Image packaging for WireCloud https://conwet.fi.upm.es/wirecloud
Other
8 stars 14 forks source link

Unable to launch docker image of wirecloud #64

Closed tukiyo closed 3 years ago

tukiyo commented 3 years ago

โ–  I got an error when I put -e DEBUG=False or unspecified.

docker run -p 8000:8000 \
 -e DEBUG=False \
 fiware/wirecloud:1.2

or

docker run -p 8000:8000 \
 fiware/wirecloud:1.2

image

โ–  No error with -e DEBUG=True

docker run -p 8000:8000 \
 -e DEBUG=True \
 fiware/wirecloud:1.2

image

I had the same problem with fiware/wirecloud:1.3 and fiware/wirecloud:latest.

Why do I need to add -e DEBUG=True?

fisuda commented 3 years ago

When DEBUG is False, you should serve the static files with a fast performance http server like Apache, Nginx, Gunicorn, etc. Please see Django configuration in WireCloud documentation.

tukiyo commented 3 years ago

ๅ˜ไฝ“่ตทๅ‹•ใ ใจใใ†ใ ใฃใŸใฎใงใ™ใญใ€ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ—ใŸใ€‚