docker icon indicating copy to clipboard operation
docker copied to clipboard

Docker invalid image?

Open TofPlay opened this issue 7 years ago • 6 comments

Hi, When I execute:

$ docker run -p 8080:80 wallabag/wallabag

I have this screen image

TofPlay avatar Apr 13 '18 11:04 TofPlay

You need to set the SYMFONY__ENV__DOMAIN_NAME variable so that the CSS/JS assets are loaded properly.

dennistang avatar Apr 18 '18 13:04 dennistang

Indeed I got a local test instance running as expected with: docker run --rm -e "SYMFONY__ENV__DOMAIN_NAME=http://localhost:1080" -p 1080:80 wallabag/wallabag

If customizing SYMFONY__ENV__DOMAIN_NAME is mandatory, I don't understand, why there is a non-working default. :thinking:

m0 avatar May 02 '18 20:05 m0

Hello. Thank you TofPlay for your question and Dennistang for the answer.

Yes, SYMFONY__ENV__DOMAIN_NAME appears nor in docker-compose (official Docker image website), nor in Dockerfile. Of course, the customize depends on eachone configuration, but, you right m0, it should be great to read a little comment in config files about the SYMFONY__ENV__DOMAIN_NAME.

Shoud it posible to add it ?

Thanks and best regards all.

will-tam avatar Jun 10 '18 11:06 will-tam

@will-tam yes it is. https://github.com/wallabag/docker#docker-compose

norweeg avatar Feb 03 '19 18:02 norweeg

Hi! I solve the problem loading the css using that variable. But, the icon dosn't show up, as you can see down.

I'm testing befor deploy. this is the command that I run:

sudo docker run --rm -e "SYMFONY__ENV__DOMAIN_NAME=http://walla.my.domain:8080" -p 8080:80 wallabag/wallabag

Captura de pantalla de 2019-07-07 12-17-36

This need another variable to set?

ingmarcosp avatar Jul 07 '19 10:07 ingmarcosp

This CSS works for me on my own instance:

https://github.com/wallabag/docker/issues/146#issuecomment-513530225

cecoates avatar Jul 21 '19 07:07 cecoates