mahnunchik / keystonejs-docker

KeystoneJS docker image
12 stars 9 forks source link

Supplying configuration #1

Open maghoff opened 9 years ago

maghoff commented 9 years ago

Hi :)

I'm having trouble running this with docker. I follow the instructions in your README, but Keystone fails to appear on http://localhost:8080/.

When I modify the docker-command so it doesn't include -d, I get an error message claiming invalid configuration:

Error: Invalid Configuration

CloudinaryImage fields (Gallery.heroImage) require the "cloudinary config" option to be set.

See http://keystonejs.com/docs/configuration/#cloudinary for more information.

How do I supply config to the Keystone instance? It looks kind of hardcoded in keystone.js, no? https://github.com/mahnunchik/keystonejs-docker/blob/master/keystone.js#L14

zwyrol commented 9 years ago

Hello. I have exactly same issue. Maybe you maghoff already sort it ? Thanks.

faddat commented 9 years ago

@maghoff you could use a volume. What you'd do is edit the dockerfile so that you've got a volume with the config corresponding to the config in the container. Pain in the ass, I know.