mhzawadi / docker-picocms

GNU Lesser General Public License v3.0
1 stars 0 forks source link

Notices and errors on fresh install #4

Closed gingerbeardman closed 2 years ago

gingerbeardman commented 2 years ago

I just brought up this container, no changes other than my own custom port number.

I was not really knowing what to expect, but I see this:

Screen shot 2022-04-25 at 19 41 03

Any advice would be appreciated as to

Thanks for making a docker container for picocms!

mhzawadi commented 2 years ago

Hey @gingerbeardman Thanks for your issue report, I have also had issues getting the site up as a fresh install.

Turns out composer was messing things up and i couldnt get a fresh install to work, even with sample content.

I have now fixed the image and new versions are on the Docker hub, please pull and retest. Also an update to the readme, but could do with feedback on that.

5 fixes this issue

gingerbeardman commented 2 years ago

Thanks, it now works!

Aside: I tried to be lazy and do:

docker run --name picocms
  -p 8080:80
  -v /my_dir/:/var/www/html/
  -d mhzawadi/picocms

...but that did not work. I kind of wonder why as it feels like it should work?

Anyway, I specified multiple volumes and all is well.

Onwards!