Re: Docker

2019-10-15 Thread balogun tobi
been away for a while that's why i havent replied. i have built the app
already i really just need Docker for deployment

On Mon, 14 Oct 2019 at 10:51, Nick Sarbicki 
wrote:

> K8S has a very different system of volumes which is separate from Docker.
>
> Docs are here: https://kubernetes.io/docs/concepts/storage/volumes/
>
> For K8S you mainly need to consider what your running K8S on, AWS, GCP,
> bare metal etc? As well as what you are storing on your volumes and if they
> only need to stick around for the lifetime of the pod, or need to be kept
> for longer.
>
> In most cases when we are talking about file storage over the course of an
> apps lifetime (i.e. needs to persist even when deploying a new pod/version)
> the general direction is to store files in blob storage such as AWS S3.
> With Django this is pretty easy to do with django-storages (
> https://django-storages.readthedocs.io/en/latest/).
>
> In some cases this isn't possible, for instance storing large ML models
> between multiple pods - in which case you will likely need to create
> persistentVolumeClaim using something like AWS EFS which involves a bit
> more manual work.
>
> In a few cases it may be that the data should be shipped to a database...
>
> The right path varies wildly depending on what you think you need volumes
> for.
>
> On Monday, October 14, 2019 at 10:43:45 AM UTC+1, vineet daniel wrote:
>>
>> in reference to kubernetes cluster as well? with multiple containers?
>> developer pushes the code to git and that invokes kube pipeline where does
>> volume come into picture here. I might be wrong here and that's why need
>> clarity on this. May be we are thinking differently.
>>
>> Regards
>> Vineet Daniel
>> Cell  : +918527565696
>> Websites : Blog    |   Linkedin
>>   |  Twitter
>> 
>>
>>
>>
>>
>> On Mon, Oct 14, 2019 at 2:40 PM Nick Sarbicki 
>> wrote:
>>
>>> You would use volumes in the same way regardless of how git is used and
>>> your CI/CD is setup.
>>>
>>> Documentation on volumes in docker is here:
>>> https://docs.docker.com/storage/volumes/ and for compose here:
>>> https://docs.docker.com/compose/compose-file/#volume-configuration-reference
>>>
>>> On Monday, October 14, 2019 at 8:15:46 AM UTC+1, vineet daniel wrote:

 How would one use volumes if containers are to initiated after git
 merge/push ? (CI/CD setup).

 Regards
 Vineet Daniel
 Cell  : +918527565696
 Websites : Blog    |   Linkedin
   |  Twitter
 




 On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki 
 wrote:

> Don't use git inside the container, this is not the standard way of
> doing things.
>
> Docker has its own guide for using django with compose. This works
> fine for a single server setup:
> https://docs.docker.com/compose/django/
>
> - Nick
>
>
> On Thu, Oct 10, 2019 at 5:09 PM vineet daniel 
> wrote:
>
>> Use git to clone the code within the container to fetch latest copy
>> of code.
>>
>> On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:
>>
>>> How does one deploy an already developed django app using Docker?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to django...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to django...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
> 

Re: Docker

2019-10-14 Thread Nick Sarbicki
K8S has a very different system of volumes which is separate from Docker.

Docs are here: https://kubernetes.io/docs/concepts/storage/volumes/

For K8S you mainly need to consider what your running K8S on, AWS, GCP, 
bare metal etc? As well as what you are storing on your volumes and if they 
only need to stick around for the lifetime of the pod, or need to be kept 
for longer.

In most cases when we are talking about file storage over the course of an 
apps lifetime (i.e. needs to persist even when deploying a new pod/version) 
the general direction is to store files in blob storage such as AWS S3. 
With Django this is pretty easy to do with django-storages (
https://django-storages.readthedocs.io/en/latest/).

In some cases this isn't possible, for instance storing large ML models 
between multiple pods - in which case you will likely need to create 
persistentVolumeClaim using something like AWS EFS which involves a bit 
more manual work.

In a few cases it may be that the data should be shipped to a database...

The right path varies wildly depending on what you think you need volumes 
for.

On Monday, October 14, 2019 at 10:43:45 AM UTC+1, vineet daniel wrote:
>
> in reference to kubernetes cluster as well? with multiple containers? 
> developer pushes the code to git and that invokes kube pipeline where does 
> volume come into picture here. I might be wrong here and that's why need 
> clarity on this. May be we are thinking differently.
>
> Regards
> Vineet Daniel
> Cell  : +918527565696
> Websites : Blog    |   Linkedin 
>   |  Twitter 
> 
>
>
>
>
> On Mon, Oct 14, 2019 at 2:40 PM Nick Sarbicki  > wrote:
>
>> You would use volumes in the same way regardless of how git is used and 
>> your CI/CD is setup.
>>
>> Documentation on volumes in docker is here: 
>> https://docs.docker.com/storage/volumes/ and for compose here: 
>> https://docs.docker.com/compose/compose-file/#volume-configuration-reference
>>
>> On Monday, October 14, 2019 at 8:15:46 AM UTC+1, vineet daniel wrote:
>>>
>>> How would one use volumes if containers are to initiated after git 
>>> merge/push ? (CI/CD setup).
>>>
>>> Regards
>>> Vineet Daniel
>>> Cell  : +918527565696
>>> Websites : Blog    |   Linkedin 
>>>   |  Twitter 
>>> 
>>>
>>>
>>>
>>>
>>> On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki  
>>> wrote:
>>>
 Don't use git inside the container, this is not the standard way of 
 doing things.

 Docker has its own guide for using django with compose. This works fine 
 for a single server setup: https://docs.docker.com/compose/django/

 - Nick


 On Thu, Oct 10, 2019 at 5:09 PM vineet daniel  
 wrote:

> Use git to clone the code within the container to fetch latest copy of 
> code. 
>
> On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:
>
>> How does one deploy an already developed django app using Docker?
>>
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, 
>> send an email to django...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to django...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
>  
> 
> .
>
 -- 
 You received this message because you are subscribed to the Google 
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to django...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
  
 
 .

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> 

Re: Docker

2019-10-14 Thread vineet daniel
in reference to kubernetes cluster as well? with multiple containers?
developer pushes the code to git and that invokes kube pipeline where does
volume come into picture here. I might be wrong here and that's why need
clarity on this. May be we are thinking differently.

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog    |   Linkedin
  |  Twitter





On Mon, Oct 14, 2019 at 2:40 PM Nick Sarbicki 
wrote:

> You would use volumes in the same way regardless of how git is used and
> your CI/CD is setup.
>
> Documentation on volumes in docker is here:
> https://docs.docker.com/storage/volumes/ and for compose here:
> https://docs.docker.com/compose/compose-file/#volume-configuration-reference
>
> On Monday, October 14, 2019 at 8:15:46 AM UTC+1, vineet daniel wrote:
>>
>> How would one use volumes if containers are to initiated after git
>> merge/push ? (CI/CD setup).
>>
>> Regards
>> Vineet Daniel
>> Cell  : +918527565696
>> Websites : Blog    |   Linkedin
>>   |  Twitter
>> 
>>
>>
>>
>>
>> On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki 
>> wrote:
>>
>>> Don't use git inside the container, this is not the standard way of
>>> doing things.
>>>
>>> Docker has its own guide for using django with compose. This works fine
>>> for a single server setup: https://docs.docker.com/compose/django/
>>>
>>> - Nick
>>>
>>>
>>> On Thu, Oct 10, 2019 at 5:09 PM vineet daniel 
>>> wrote:
>>>
 Use git to clone the code within the container to fetch latest copy of
 code.

 On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:

> How does one deploy an already developed django app using Docker?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ecc10a91-ca14-4c84-845d-5fed90ec12f2%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJPbAW-R9zbws6z_xe_MMExiktOd%3DM58ERfzKz7yaP50ntz_qg%40mail.gmail.com.


Re: Docker

2019-10-14 Thread Nick Sarbicki
You would use volumes in the same way regardless of how git is used and 
your CI/CD is setup.

Documentation on volumes in docker is here: 
https://docs.docker.com/storage/volumes/ and for compose here: 
https://docs.docker.com/compose/compose-file/#volume-configuration-reference

On Monday, October 14, 2019 at 8:15:46 AM UTC+1, vineet daniel wrote:
>
> How would one use volumes if containers are to initiated after git 
> merge/push ? (CI/CD setup).
>
> Regards
> Vineet Daniel
> Cell  : +918527565696
> Websites : Blog    |   Linkedin 
>   |  Twitter 
> 
>
>
>
>
> On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki  > wrote:
>
>> Don't use git inside the container, this is not the standard way of doing 
>> things.
>>
>> Docker has its own guide for using django with compose. This works fine 
>> for a single server setup: https://docs.docker.com/compose/django/
>>
>> - Nick
>>
>>
>> On Thu, Oct 10, 2019 at 5:09 PM vineet daniel > > wrote:
>>
>>> Use git to clone the code within the container to fetch latest copy of 
>>> code. 
>>>
>>> On Thu, 10 Oct 2019, 20:59 balogun tobi, >> > wrote:
>>>
 How does one deploy an already developed django app using Docker?

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to django...@googlegroups.com .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
  
 
 .

>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to django...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ecc10a91-ca14-4c84-845d-5fed90ec12f2%40googlegroups.com.


Re: Docker

2019-10-14 Thread vineet daniel
How would one use volumes if containers are to initiated after git
merge/push ? (CI/CD setup).

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog    |   Linkedin
  |  Twitter





On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki 
wrote:

> Don't use git inside the container, this is not the standard way of doing
> things.
>
> Docker has its own guide for using django with compose. This works fine
> for a single server setup: https://docs.docker.com/compose/django/
>
> - Nick
>
>
> On Thu, Oct 10, 2019 at 5:09 PM vineet daniel 
> wrote:
>
>> Use git to clone the code within the container to fetch latest copy of
>> code.
>>
>> On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:
>>
>>> How does one deploy an already developed django app using Docker?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJPbAW9Zd9g%2BZ6hga7AHKfBRUkMy%3DQ%3DHK7SZKYGcLyx2ACxRKg%40mail.gmail.com.


Re: Docker

2019-10-10 Thread Nick Sarbicki
Don't use git inside the container, this is not the standard way of doing
things.

Docker has its own guide for using django with compose. This works fine for
a single server setup: https://docs.docker.com/compose/django/

- Nick


On Thu, Oct 10, 2019 at 5:09 PM vineet daniel 
wrote:

> Use git to clone the code within the container to fetch latest copy of
> code.
>
> On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:
>
>> How does one deploy an already developed django app using Docker?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com.


Re: Docker

2019-10-10 Thread vineet daniel
Use git to clone the code within the container to fetch latest copy of
code.

On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:

> How does one deploy an already developed django app using Docker?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com.


Re: Docker performance on Mac OS X

2019-09-23 Thread Chris Wedgwood
Hi Jason

Thank you for your response. I misdaignosed my issue. It actually had 
nothing to do with Docker and instead was a slow performing form in the 
django admin that had a widget referencing a foreign key which was taking 
forever to build.

I fixed it with raw_id_fields, so am now back on docker

In terms of my docker usage I will verse myself in allocations etc

cheers
Chris


On Monday, 23 September 2019 12:18:03 UTC+1, Jason wrote:
>
> What kind of hardware are you working with?  What resources do you have 
> allocated to Docker.  Are you including tens of thousands of files in 
> volume mounts?
>
> We use docker extensively at work, and I've found it helps to have at 
> least half of your machine's hardware available to docker.  My 2018 MBP has 
> 5 cores and 10GB RAM allocated.
>
> However, docker is very sensitive to the amount of files being included 
> and being watched over.  SO if you have thousands to tens of thousands of 
> files in your volume mount symlinks, performance is going to be poor.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f9a2c6a3-9199-4eee-b362-024f38ba9469%40googlegroups.com.


Re: Docker performance on Mac OS X

2019-09-23 Thread Jason
What kind of hardware are you working with?  What resources do you have 
allocated to Docker.  Are you including tens of thousands of files in 
volume mounts?

We use docker extensively at work, and I've found it helps to have at least 
half of your machine's hardware available to docker.  My 2018 MBP has 5 
cores and 10GB RAM allocated.

However, docker is very sensitive to the amount of files being included and 
being watched over.  SO if you have thousands to tens of thousands of files 
in your volume mount symlinks, performance is going to be poor.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2542d571-0c64-473a-81aa-7aacea2ab300%40googlegroups.com.


Re: Docker: NGINX, Postgres, Django, Static, Media Files

2019-07-14 Thread Dan Tagg
+1 for cookiecutter

On Sun, 14 Jul 2019 at 20:53, hunter.cur...@gmail.com <
hunter.cur...@gmail.com> wrote:

> Probably the easiest way to do what you are looking for is to use
> cookiecutter-django: https://github.com/pydanny/cookiecutter-django
>
> They are now using Caddy for the web server but if you look in earlier
> versions there are good examples of how to use Nginx if that is your
> preference.
>
> On Sunday, July 14, 2019 at 6:48:09 AM UTC-6, Sebastian Jung wrote:
>>
>> Hello,
>>
>> i want i complete ready Docker Container for production that accept all
>> Host of wourld on port 80. I want a docker container for Nginx another for
>> Postgres another for Django and static Files and another container for
>> Media Files. I have not enought experience to get a manual like this:
>> https://github.com/Pawamoy/docker-nginx-postgres-django-example
>>
>> Can someone give me a package to download?
>>
>> Regards
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7f79b866-a45f-4f48-89a4-4c6d79d22bfe%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Wildman and Herring Limited, Registered Office: 28 Brock Street, Bath,
United Kingdom, BA1 2LN, Company no: 05766374

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPZHCY6o_g6D_68%2BHfphLHVw67FGfABHFQC5mg%2BLO%3DPMk_5Wnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Docker: NGINX, Postgres, Django, Static, Media Files

2019-07-14 Thread hunter.cur...@gmail.com
Probably the easiest way to do what you are looking for is to use 
cookiecutter-django: https://github.com/pydanny/cookiecutter-django

They are now using Caddy for the web server but if you look in earlier 
versions there are good examples of how to use Nginx if that is your 
preference.

On Sunday, July 14, 2019 at 6:48:09 AM UTC-6, Sebastian Jung wrote:
>
> Hello,
>
> i want i complete ready Docker Container for production that accept all 
> Host of wourld on port 80. I want a docker container for Nginx another for 
> Postgres another for Django and static Files and another container for 
> Media Files. I have not enought experience to get a manual like this: 
> https://github.com/Pawamoy/docker-nginx-postgres-django-example
>
> Can someone give me a package to download?
>
> Regards
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7f79b866-a45f-4f48-89a4-4c6d79d22bfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Docker: NGINX, Postgres, Django, Static, Media Files

2019-07-14 Thread DANIEL URBANO DE LA RUA
Go check saleor Ci , saelor ecommerce is on github ,and you will have an
idea they dont have a nginx containers but it can help you ;)

On Sun, 14 Jul 2019, 14:49 Sebastian Jung  Hello,
>
> i want i complete ready Docker Container for production that accept all
> Host of wourld on port 80. I want a docker container for Nginx another for
> Postgres another for Django and static Files and another container for
> Media Files. I have not enought experience to get a manual like this:
> https://github.com/Pawamoy/docker-nginx-postgres-django-example
>
> Can someone give me a package to download?
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d6250ecd-3d5f-4851-85df-fe1da77ce883%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAO_yRT1h5hY9H5%3D74oFas5dkCUK1JuPKPAQUGxA%2BdXP_%2BiOF8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.