Skip to content

175 create docker compose for postgresql django redis celery and flower#177

Draft
NikolayVaradinov wants to merge 5 commits into
developmentfrom
175-create-docker-compose-for-postgresql-django-redis-celery-and-flower
Draft

175 create docker compose for postgresql django redis celery and flower#177
NikolayVaradinov wants to merge 5 commits into
developmentfrom
175-create-docker-compose-for-postgresql-django-redis-celery-and-flower

Conversation

@NikolayVaradinov

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread docker/docker-compose.yml
command: python manage.py runserver 0.0.0.0:8000
environment:
- DEBUG=1
- DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how you parse it in settings.py?

Comment thread docker/entrypoint.sh Outdated
@@ -0,0 +1,8 @@
#!/bin/bash

python manage.py makemigrations

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend deleting it. You should create migrations manually

Comment thread docker/docker-compose.yml Outdated
build: .
volumes:
- ./Carwash:/usr/src/app/Carwash
working_dir: /usr/src/app/Carwash

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it isn't necessary. you do it on Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create docker-compose for postgresql, django, redis, celery and flower

2 participants