Discussion:
[TurboGears] TG2 and docker
Craig Small
2017-04-23 23:07:53 UTC
Permalink
Anyone got TG2 and docker going? An initial look seems to be use waitress
for the server. Not sure if it still should use virtenv or not. My plan is
to front end it with either a ngix or apache proxy.

The examples I have seen were too bulky using a full install rather than
pairing down to the bare minimum.

- Craig
--
Craig Small (@smallsees) http://dropbear.xyz/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
Mattia Meleleo
2017-05-20 17:23:12 UTC
Permalink
Hi, i did this just to learn docker: https://github.com/mmat11/tg2docker

It uses postgres, gunicorn and nginx. I should make a script in order to
substitute some name that should be taken from the ENV, but if you wanna
run postgres on the standard port and you don't want to use fancy instance
names it should be fine as it is.

Let me know if it works, just pull the repository and run "docker-compose
build && docker-compose up -d" then go to localhost
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
Mattia Meleleo
2017-05-20 17:27:37 UTC
Permalink
Oh, remember to change the cookie_secret or whatever is called in
development.ini, i'll make a script for that aswell
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
Loading...