Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-11-03 Thread Adeyemi Deji
Also, i tried psycopg2-binary ànd still add the same error issue but when i updated the Dokerfile, things got normal. On Mon, 31 Oct 2022, 19:51 'Kasper Laudrup' via Django users, < django-users@googlegroups.com> wrote: > On 31/10/2022 19.32, Adeyemi Deji wrote: > > > > Hello, fam! > > > > Found

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-11-01 Thread Adeyemi Deji
Hi, I believe the the binary package is suitable for development and I plan integrating docker in my company's upcoming project, so I needed a package best for production. Thanks kasper On Mon, 31 Oct 2022, 19:51 'Kasper Laudrup' via Django users, < django-users@googlegroups.com>

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-31 Thread 'Kasper Laudrup' via Django users
On 31/10/2022 19.32, Adeyemi Deji wrote: Hello, fam! Found a solution to the problem. Updated the Dockerfile. Check below Great to hear you figured it out and thanks for sharing. Out of curiosity, any reason why you chose to build the psycopg2 package from source instead of using a

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-31 Thread Adeyemi Deji
ted here: > > > #0 26.78 If you prefer to avoid building psycopg2 from source, > > please install the PyPI > > #0 26.78 'psycopg2-binary' package instead. > > Alternatively, ensure the postgresql development package is installed in > your Docker contain

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-29 Thread 'Kasper Laudrup' via Django users
in your Docker container. Kind regards, Kasper Laudrup -- 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.co

Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-28 Thread Adeyemi Deji
Hello Fam! I'm currently going through djangoforprofessional tutorial and I've been trying to resolve an error related to installing psycopg2 for postgres in a docker container. After setting up Dockerfile, requirements.txt, and docker-compose.yml which is shown below, I entered this command

Re: Starting Django project with Docker

2022-09-28 Thread Kazuya Nomura
Please add me If you could please add my git account in your project. On Tuesday, September 27, 2022 at 7:41:37 AM UTC-7 amruth...@gmail.com wrote: > I really want to start with docker with atleast 2 to 5 guys > -- You received this message because you are subscribed to the Google

Re: Starting Django project with Docker

2022-09-27 Thread 'Kasper Laudrup' via Django users
On 27/09/2022 11.35, Prabakaran Balaji wrote: Hello Folks, I tried to set the permission on app directory, but still facing the same problem. Any additional thoughts? Which permission did you set? It looks like you set the owner of the app directory to your user. Is your user the same as

Re: Starting Django project with Docker

2022-09-26 Thread sham khan
--- > *From:* django...@googlegroups.com on behalf > of Yeboah Dominic > *Sent:* Monday, September 26, 2022 10:27:31 PM > *To:* django...@googlegroups.com > *Subject:* Re: Starting Django project with Docker > > I think you have to give that user permission. >

Unable to migrate Django migration using docker container.

2022-09-26 Thread Vijay Arora
Hello @all, I am getting issue with docker containerisation. (1) When i am deploying my app first time migrations work as per expected. *Issue:-* When i am deploying code 2nd time and change something in model then migrate will not deduct any changes. That case is due to when i do make

Re: Starting Django project with Docker

2022-09-26 Thread Makrand
roject with Docker I think you have to give that user permission. Like 'sudo chown -R root:root /home/dominic/app' or sudo chown -R dominic:dominic /home/dominic/app On Mon, 26 Sept 2022 at 08:12, Prabakaran Balaji mailto:prabu.b...@gmail.com>> wrote: Hello Django Geeks, Looking for ge

Re: Starting Django project with Docker

2022-09-26 Thread Yeboah Dominic
I think you have to give that user permission. Like 'sudo chown -R root:root /home/dominic/app' or sudo chown -R dominic:dominic /home/dominic/app On Mon, 26 Sept 2022 at 08:12, Prabakaran Balaji wrote: > Hello Django Geeks, > > Looking for geeks' insight for docker related is

Re: Starting Django project with Docker

2022-09-26 Thread Makrand
roject with Docker Hello Django Geeks, Looking for geeks' insight for docker related issues. I'm not able to run the command "docker-compose run --rm app sh -c "django-admin startproject app ." Error - Traceback (most recent call last): File "/py/bin/django-admin&

Starting Django project with Docker

2022-09-26 Thread Prabakaran Balaji
Hello Django Geeks, Looking for geeks' insight for docker related issues. I'm not able to run the command *"docker-compose run --rm app sh -c "django-admin startproject app ."* Error - Traceback (most recent call last): File "/py/bin/django-admin",

Re: Hierarchy for Docker Files / "docker-compose up" issue — Question re: Chapter 2 of Django for Professionals

2022-09-08 Thread Bhuvnesh Sharma
text:* > >- I'm new to this >- To learn, I went through the book Django for Beginners and am now >working through Django for Professionals >- I'm on page 29 of Chapter 2: Docker Hello, World! in the Django for >Professionals PDF >- It seem

Re: Django docker application

2022-03-30 Thread Izmir K
Hi there, Could you share your docker-compose.yml and dockerfile as well? On Wednesday, 30 March 2022 at 10:47:01 UTC+1 Kolluri Mounish wrote: > Hi all, > I'm new to dockers, while Initiating a django application within a > container I'm facing fallowing error. > > [image: Scr

Django docker application

2022-03-30 Thread Kolluri Mounish
Hi all, I'm new to dockers, while Initiating a django application within a container I'm facing fallowing error. [image: Screenshot 2022-03-30 150852.png] OS: windows Package Manager: pipenv Database: PostgreSQL Please let me know if any one has an idea about it. -- You received this

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-03-14 Thread Joel Tanko
settings file, run migrations etc >>>> >>>> On Thursday, January 13, 2022 at 7:47:26 AM UTC-7 in...@lyntree.io >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I'm looking at building and deploying either a SaaS / PaaS

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-03-06 Thread 炉边史话
n Thursday, January 13, 2022 at 7:47:26 AM UTC-7 in...@lyntree.io >>> wrote: >>> >>>> Hello, >>>> >>>> I'm looking at building and deploying either a SaaS / PaaS or CaaS but >>>> what I'm struggling to figure out is how I can deploy an

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-17 Thread Bernard Mallala
uired to get the >>>> Tutorial >>>>App running. E.g add to settings file, run migrations etc >>>> >>>> On Thursday, January 13, 2022 at 7:47:26 AM UTC-7 in...@lyntree.io >>>> wrote: >>>> >>>>> Hello, >

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-16 Thread Bridget Sarah
torial >>>App running. E.g add to settings file, run migrations etc >>> >>> On Thursday, January 13, 2022 at 7:47:26 AM UTC-7 in...@lyntree.io >>> wrote: >>> >>>> Hello, >>>> >>>> I'm looking at building and deploying eith

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-14 Thread MR INDIA
Tutorial >>App running. E.g add to settings file, run migrations etc >> >> On Thursday, January 13, 2022 at 7:47:26 AM UTC-7 in...@lyntree.io wrote: >> >>> Hello, >>> >>> I'm looking at building and deploying either a SaaS / PaaS or CaaS but

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-13 Thread Bernard Mallala
etc > > On Thursday, January 13, 2022 at 7:47:26 AM UTC-7 in...@lyntree.io wrote: > >> Hello, >> >> I'm looking at building and deploying either a SaaS / PaaS or CaaS but >> what I'm struggling to figure out is how I can deploy an image of django >> (without its ap

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-13 Thread Bernard Mallala
ge of django > (without its app server) into a container probably using nginx and docker > to work between them. > > e.g Django you have the ability to create additional apps within Django > but app I'm building inside at the moment, Ideally I want to isolate that > app and deploy tha

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-13 Thread yebo...@gmail.com
bly using nginx and docker > to work between them. > > e.g Django you have the ability to create additional apps within Django > but app I'm building inside at the moment, Ideally I want to isolate that > app and deploy that app but ensure its connected to the main django app >

Django, Docker & SaaS Multi-Tenant Architecture

2022-01-13 Thread Bridget Kelly O'Sheehan
Hello, I'm looking at building and deploying either a SaaS / PaaS or CaaS but what I'm struggling to figure out is how I can deploy an image of django (without its app server) into a container probably using nginx and docker to work between them. e.g Django you have the ability to create

Re: Celery & Docker Setup

2021-11-15 Thread Gabo LaTo
Try following the instructions here: https://docs.celeryproject.org/en/stable/django/first-steps-with-django.html And Let us know when you are stucked and where did you get stucked. I recommend sharing your code with a github link instead of writing as part of the email. It's easier for us to

Re: Celery & Docker Setup

2021-11-10 Thread Edchel Stephen Nini
Yes you can add celery anywhere. Check out the full tutorial on how he did it. You're welcome. Keep safe, Ed On Thu, 11 Nov 2021 at 00:17, Trippy Samurai wrote: > Thanks edchels for the link considering the views is it possible to add? > > > On Wednesday, 10 November 2021 at 15:52:14

Re: Celery & Docker Setup

2021-11-10 Thread Trippy Samurai
Thanks edchels for the link considering the views is it possible to add? On Wednesday, 10 November 2021 at 15:52:14 UTC+5:30 edchels...@gmail.com wrote: > Checkout this tutorial > > https://realpython.com/asynchronous-tasks-with-django-and-celery/ > > On Wed, 10 Nov 2021 at 17:12, Trippy

Re: Celery & Docker Setup

2021-11-10 Thread Edchel Stephen Nini
Checkout this tutorial https://realpython.com/asynchronous-tasks-with-django-and-celery/ On Wed, 10 Nov 2021 at 17:12, Trippy Samurai wrote: > Hello, > I have around 18 views in my views.py file how do i integrate with > celery,Please help me if anyone's aware > > *Views*.*py:* > > from django

Re: Celery & Docker Setup

2021-11-10 Thread Edchel Stephen Nini
Checkout this tutorial https://realpython.com/asynchronous-tasks-with-django-and-celery/ On Wed, 10 Nov 2021 at 17:12, Trippy Samurai wrote: > Hello, > I have around 18 views in my views.py file how do i integrate with > celery,Please help me if anyone's aware > > *Views*.*py:* > > from django

Celery & Docker Setup

2021-11-10 Thread Trippy Samurai
Hello, I have around 18 views in my views.py file how do i integrate with celery,Please help me if anyone's aware *Views*.*py:* from django import forms from django.contrib import auth from django.http import request from django.http.response import HttpResponse, HttpResponseRedirect from

Re: Conmect two docker container

2021-08-01 Thread Derek
Docker has a short tutorial on their website: https://docs.docker.com/samples/django/ On Sunday, 1 August 2021 at 04:48:54 UTC+2 parampal...@gmail.com wrote: > I have two docker container one is postgresql > > > > > And second one is django container > how i conne

Conmect two docker container

2021-07-31 Thread Parampal Singh
I have two docker container one is postgresql And second one is django container how i connect this two container Sorry for weak english -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Got an error creating the test databse - with mysql and docker-compose

2021-05-01 Thread Gwanghyeon Gim
Hi django developers! I have an issue with creating test database. I use mysql for db and docker compose. I have no problem running docker containers with docker-compose, but when I run test it spits this error message. Note that the name of django service is web, and mysql service is db

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
on main host. >>>> Simply with python manage.py runserver >>>> >>>> >>>> On Mon, Mar 29, 2021, 12:21 DJANGO DEVELOPER >>>> wrote: >>>> >>>>> I want to ask another question. please ignore my ignorance. >>>&

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
project just not inside a container then, >>> you will have to run simply outside the container on main host. >>> Simply with python manage.py runserver >>> >>> >>> On Mon, Mar 29, 2021, 12:21 DJANGO DEVELOPER >>> wro

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
run the project just not inside a container then, >> you will have to run simply outside the container on main host. >> Simply with python manage.py runserver >> >> >> On Mon, Mar 29, 2021, 12:21 DJANGO DEVELOPER >> wrote: >> >>> I want to ask another

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
manage.py runserver > > > On Mon, Mar 29, 2021, 12:21 DJANGO DEVELOPER > wrote: > >> I want to ask another question. please ignore my ignorance. >> what if I don't use docker up or run, then will it be possible to run the >> django project? >> >> On Mon, Mar

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
nce. > what if I don't use docker up or run, then will it be possible to run the > django project? > > On Mon, Mar 29, 2021 at 11:49 AM DJANGO DEVELOPER > wrote: > >> okay, thank you for the suggestion. >> >> On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
I want to ask another question. please ignore my ignorance. what if I don't use docker up or run, then will it be possible to run the django project? On Mon, Mar 29, 2021 at 11:49 AM DJANGO DEVELOPER wrote: > okay, thank you for the suggestion. > > On Mon, Mar 29, 2021 at 11:45 AM Kuna

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
okay, thank you for the suggestion. On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke wrote: > If you know how to containerize a project you should know how to run that > containarized image, that's why I said to look for articles and anaylyse > the codebase > > docker run or do

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
If you know how to containerize a project you should know how to run that containarized image, that's why I said to look for articles and anaylyse the codebase docker run or docker-compose up These are most like going to be used On Mon, Mar 29, 2021, 12:12 DJANGO DEVELOPER wrote: > well

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
? On Mon, Mar 29, 2021 at 11:39 AM Kunal Solanke wrote: > Thats really very little info, we don't know what's the state or > configuration present in your codebase > I'd suggest you to search articles with django and docker/docker-compose > > > On Mon, Mar 29, 2021, 12:03 DJANGO

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
Thats really very little info, we don't know what's the state or configuration present in your codebase I'd suggest you to search articles with django and docker/docker-compose On Mon, Mar 29, 2021, 12:03 DJANGO DEVELOPER wrote: > Hi, > I have a django project which is already dev

How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
Hi, I have a django project which is already developed by another developer and it is containerised. Now the developer has send the project to me and wants me to do some changes in it? can anyone guide me that how can I run the project using docker again? database is postgresql. -- You

Re: how to make docker image of your django app

2020-06-17 Thread onlinejudge95
houdhary < > anirudhchoudary...@gmail.com> wrote: > >> I Want to make make a docker image of my Django app using PostgreSQL and >> unicorn. but I can't find any good tutorial for reference >> please share my link to if you know any good tutorial >> > The first philosop

Re: how to make docker image of your django app

2020-06-17 Thread Jason Turner
https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/ Also, Will Vincent's book "Django for Professionals" is a good resource. On Wed, Jun 17, 2020, 8:51 AM Anirudh choudhary < anirudhchoudary...@gmail.com> wrote: > I Want to make make a docker ima

how to make docker image of your django app

2020-06-17 Thread Anirudh choudhary
I Want to make make a docker image of my Django app using PostgreSQL and unicorn. but I can't find any good tutorial for reference please share my link to if you know any good tutorial My Dockerfile now is like FROM python:3.6 ENV PYTHONUNBUFFERED 1 RUN mkdir /app WORKDIR /app COPY

Re: What's a recommended/common approach to staging and production apps in Heroku, using Docker containers?

2020-02-07 Thread Tom Moore
separate > containers, this tutorial helped me very much: > https://dev.to/englishcraig/creating-an-app-with-docker-compose-django-and-create-react-app-31lf > > I'm not aware whether that's suitable to your case, but if it is so, I put > together a cookiecutter based on that tutorial t

Re: What's a recommended/common approach to staging and production apps in Heroku, using Docker containers?

2020-01-30 Thread Álvaro Durán
Hi Tom, I had a similar problem a while ago using React and Django as separate containers, this tutorial helped me very much: https://dev.to/englishcraig/creating-an-app-with-docker-compose-django-and-create-react-app-31lf I'm not aware whether that's suitable to your case, but if it is so, I

What's a recommended/common approach to staging and production apps in Heroku, using Docker containers?

2020-01-30 Thread Tom Moore
Hi there, I'm trying to set up *staging* and *production* apps in Heroku. Nothing fancy, just a way to test the app is running okay on Heroku's platform before it gets pushed to production. The project is containerised in Docker. I've tried setting up a pipeline in Heroku, but when I

Re: Configuring a StaticLiveTestCase Server In A Docker Container

2020-01-22 Thread Dvs Khamele
> > #globals > HTTP = "http://"# ip address of host machine on the default docker network > LOCALHOST = settings.HOST_LOCALHOST# port number on host the docker selenium > remote server is exposed on > SEL_PORT = > > class SignUpViewFunctionalTests(

Configuring a StaticLiveTestCase Server In A Docker Container

2019-12-23 Thread 'Ross' via Django users
Hi, I am able to spawn a separate live development server process for a selenium test which inherits from LiveServerTestCase with the following - #globals HTTP = "http://"# ip address of host machine on the default docker network LOCALHOST = settings.HOST_LOCALHOST# port numb

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://kubernete

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

Re: Docker

2019-10-14 Thread vineet daniel
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, 201

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

Re: Docker

2019-10-14 Thread vineet daniel
s://twitter.com/vineetdaniel> 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

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

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 >

Docker

2019-10-10 Thread balogun tobi
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...@google

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

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

Docker performance on Mac OS X

2019-09-23 Thread Chris Wedgwood
Hi All I generally use the Django Cookiecutter project to start my projects and have started using *docker* for my local development. However I have started to get some really awful performance with pageloads taking 30-40 seconds. I am know considering stopping using docker entirely. Has anyone

Re: Isolate Django apps in different Docker containers

2019-08-15 Thread Ronit Mishra
will consist of several REST web services), I > would like to isolate my services (each service would be a Django > application) into different Docker containers to aim to a micro-services > architecture. It will allow to benefit of Docker isolation to update > independantly the diffe

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

2019-07-14 Thread Dan Tagg
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 fo

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

2019-07-14 Thread hunter.cur...@gmail.com
. 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

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 8

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

2019-07-14 Thread 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

Re: Django with Docker

2019-04-30 Thread Andréas Kühne
Hi Omer, I deploy using the latest version of the 3.7 python docker image. Then we add all of the requirements into the docker container - without a virtual environment. Because the docker image will only run the django application, there is no need for creating a virtual environment. If I need

Re: Django with Docker

2019-04-29 Thread Nick Sarbicki
Hi Omer, Docker actually has docs on this itself: https://docs.docker.com/compose/django/ - Nick On Mon, Apr 29, 2019 at 4:19 PM Omer Ozsakarya wrote: > Hello all, > > How are you deploying your Django applications with Docker? > 1- Which packages, libraries are you writing

Django with Docker

2019-04-29 Thread Omer Ozsakarya
Hello all, How are you deploying your Django applications with Docker? 1- Which packages, libraries are you writing into docker compose file? 2- Are you also using a virtual environment with docker? Thanks -- You received this message because you are subscribed to the Google Groups "D

Re: Django REST in Docker

2019-04-10 Thread Shubham Joshi
Okay, thanks , I will do that On Tue 9 Apr, 2019, 7:52 PM PASCUAL Eric, wrote: > It seems right. > > I suppose that requirements.txt contains the rest_framework package too. > > You can check the image content by executing the "pip freeze" command on >

Re: Django REST in Docker

2019-04-09 Thread PASCUAL Eric
It seems right. I suppose that requirements.txt contains the rest_framework package too. You can check the image content by executing the "pip freeze" command on it (docker run pip freeze). This will tell you of all the packages you nee are there. Eric ___

Re: Django REST in Docker

2019-04-09 Thread Alessandro Madruga Correia
ic >> >> -- >> *From:* django-users@googlegroups.com on >> behalf of Shubham Joshi >> *Sent:* Tuesday, April 9, 2019 07:30 >> *To:* Django users >> *Subject:* Django REST in Docker >> >> I had set up djan

Re: Django REST in Docker

2019-04-09 Thread Shubham Joshi
f there would not > be some other problem ? > > Eric > > -- > *From:* django-users@googlegroups.com on > behalf of Shubham Joshi > *Sent:* Tuesday, April 9, 2019 07:30 > *To:* Django users > *Subject:* Django REST in Docker > > I had s

Re: Django REST in Docker

2019-04-09 Thread PASCUAL Eric
. Could you show the content of your Dockerfile to check if there would not be some other problem ? Eric From: django-users@googlegroups.com on behalf of Shubham Joshi Sent: Tuesday, April 9, 2019 07:30 To: Django users Subject: Django REST in Docker I had set

Django REST in Docker

2019-04-08 Thread Shubham Joshi
I had set up django in Docker, now I am trying to install pip packages , like rest_framework and added in installed apps too. but it throws ModuleNotFoundError: No module named 'rest_framework' , whats the generic way of installing the pip packages in existing dockerized django project -- You

Re: Django connectivity with MySQL service in docker container

2019-03-03 Thread Derek
The good news is that someone already wrote a series of blog posts for you: * http://www.nisanthsojan.com/django-mysql-with-docker%e2%80%8a-a-step-by-step-guide-for-local-development-part-1/ * http://www.nisanthsojan.com/django-mysql-with-docker%E2%80%8A-a-step-by-step-guide-for-local

Django connectivity with MySQL service in docker container

2019-02-23 Thread Devender Kumar
I am not able to connect my web service with MySQL db service running in docker container both of the services are in docker container. Can any one share config or some notes on this topic I am using gunicron server nginx for reverse proxy MySQL for database. And also changes to be made django

django wagtial docker production and staging database

2019-01-29 Thread Tim Vogt
Hi I have a wagtail application running on digital ocean, Deployed with ansibble and docker (separate) When I used amazon I had staging and production branches in my git environment (for small flask projects). Now I user docker and try tor find a way to handle the settings.py for staging

I want to test the function of django application created on docker with selenium

2019-01-15 Thread yuya . nishimaki . miraidenshi
*I'm trying to do:* I want to test the function of django application with selenium, behave and behave-django. Also, I want to check the flow of execution of selenium by accessing the vnc server (vnc://localhost:5900). *The problem:* The vnc server refuses the access to the localhost. But, I

django cookie cutter docker with caddy

2018-04-26 Thread venkat eswar
Hi All, caddy env file: Caddy -- DOMAIN_NAME=balajidigitals.in caddy production config www.{$DOMAIN_NAME} { redir https://balajidigitals.in } {$DOMAIN_NAME} { proxy / django:5000 {

Re: could not translate host name "postgres" to address: Name does not resolve [Docker swarm]

2018-02-23 Thread twinmegami
Ok, I found the problem is depends_on not work on swarm mode -- 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

could not translate host name "postgres" to address: Name does not resolve [Docker swarm]

2018-02-23 Thread twinmegami
I am using docker swarm to set env ``` - DATABASE_URL=postgres://basin:basin_pa44@postgres:5432/demo ``` I confirmed two host can reach each other. And directly using psycopg2 was fine: ``` >>> import

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-14 Thread qnub
On developers machines we use postgres (and BDR on production, but i have not performance issues on production anymore), redis (now on developers too, on production it was from the start) and elasticsearch. All this things executed in own docker containers (on developer machines

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-14 Thread Andrew Godwin
t; >> OK, can you try using the Redis one instead and seeing if that's faster? >> Docker for Mac has a bit of an odd filesystem and kernel and it's possible >> the IPCLayer is not working well underneath it. >> >> Andrew >> >> On Thu, Jun 1, 2017 at 10:11 AM, qn

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-13 Thread qnub
gt; OK, can you try using the Redis one instead and seeing if that's faster? > Docker for Mac has a bit of an odd filesystem and kernel and it's possible > the IPCLayer is not working well underneath it. > > Andrew > > On Thu, Jun 1, 2017 at 10:11 AM, qnub <qnu...@gmail.com &g

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread Andrew Godwin
OK, can you try using the Redis one instead and seeing if that's faster? Docker for Mac has a bit of an odd filesystem and kernel and it's possible the IPCLayer is not working well underneath it. Andrew On Thu, Jun 1, 2017 at 10:11 AM, qnub <qnub...@gmail.com> wrote: > Yes, because

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread qnub
gt; > Andrew > > On Thu, Jun 1, 2017 at 1:36 AM, qnub <qnu...@gmail.com > > wrote: > >> Not sure what exactly wrog here, but installing pyinotify not helps to >> lower CPU usage in docker on mac OS. As i understand after googling >> installing

Re: Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread Andrew Godwin
Can I ask what channel layer you are using? That's what affects the speed of messages being transported. Andrew On Thu, Jun 1, 2017 at 1:36 AM, qnub <qnub...@gmail.com> wrote: > Not sure what exactly wrog here, but installing pyinotify not helps to > lower CPU usage in docker on

Pyinotify and runserver performance with django channels in docker for mac

2017-06-01 Thread qnub
Not sure what exactly wrog here, but installing pyinotify not helps to lower CPU usage in docker on mac OS. As i understand after googling installing of `pyinotify` helps in case of running dev server with `runserver` manage command for general django configuration (without channels, but i

Re: GeoDjango with Docker

2016-12-01 Thread Tadeo C
ytic.github.io/a-production-ready-web-mapping-toolkit-part-3/ > > It's based on Ubuntu but you should be able to move it to Alpine without > too much effort. > Dave > > On Wednesday, November 30, 2016 at 10:02:59 AM UTC-7, Tadeo C wrote: >> >> Hi, I'm starting a proje

Re: GeoDjango + PostGIS Docker Stack

2016-12-01 Thread Tadeo C
I'm sorry I reposted this question because I could not find the previous one. Thanks for the answers! On Thursday, December 1, 2016 at 2:41:06 PM UTC-3, Tadeo C wrote: > > Hi, I'm trying to setup a stack of Docker containers (GeoDjango + PostGIS > + Nginx) to develop a GeoDjango ap

GeoDjango + PostGIS Docker Stack

2016-12-01 Thread Tadeo C
Hi, I'm trying to setup a stack of Docker containers (GeoDjango + PostGIS + Nginx) to develop a GeoDjango application, preferably Alpine based. I can't find a docker-compose.yml fille nor images that allows me to get the three containers up and running. Does anyone has experience

Re: GeoDjango with Docker

2016-12-01 Thread Dan Tagg
toolkit-part-3/ > > It's based on Ubuntu but you should be able to move it to Alpine without > too much effort. > Dave > > On Wednesday, November 30, 2016 at 10:02:59 AM UTC-7, Tadeo C wrote: >> >> Hi, I'm starting a project with GeoDjango and I want to use Docker >> co

Re: GeoDjango with Docker

2016-12-01 Thread hunter.cur...@gmail.com
/a-production-ready-web-mapping-toolkit-part-3/ It's based on Ubuntu but you should be able to move it to Alpine without too much effort. Dave On Wednesday, November 30, 2016 at 10:02:59 AM UTC-7, Tadeo C wrote: > > Hi, I'm starting a project with GeoDjango and I want to use Docker > containers

Re: GeoDjango with Docker

2016-12-01 Thread Jani Tiainen
. On 30.11.2016 17:39, Tadeo C wrote: Hi, I'm starting a project with GeoDjango and I want to use Docker containers to build the stack (GeoDjango, Nginx, Postgis) preferably Alpine base images. Does anyone has successful done this before? Where can I find a useful docker-compose.yml or a tested and working

Re: GeoDjango with Docker

2016-12-01 Thread Reza Shalbafzadeh
Hi Tadeo GeoDjango is very similar to Django and you can modify existing Django dockerfiles to build your own images have a look at this links realpython django docker example <https://github.com/realpython/dockerizing-django/blob/master/docker-compose.yml> postgis django dock

  1   2   >