TheHipbot / docker-web2py

web2py Docker files
13 stars 11 forks source link

what's the best practice to get my own app running #4

Closed acidjunk closed 7 years ago

acidjunk commented 7 years ago

Thanks for a running and working web2py docker :)

I tried to setup a volume to my app:

volumes:
  - my_fancy_app:/home/www-data/applications/my_fancy_app

But that didn't work. Is there an easy way to add you own web2py app to this docker? I would like to use my_fancy_app as the default app, which involves adding it to routes.py

routers = dict(
    BASE  = dict(default_application='my_fancy_app'),
)

It would be nice if it could be done completely via a environment variables.

acidjunk commented 7 years ago

Fixed it in my own build.