Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: just a few dev cleanups #78

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,32 @@ services:
- bash
- -c
- |
python manage.py migrate
python manage.py runserver 0.0.0.0:8000
ports:
- "8000:8000"
volumes:
- .:/code
depends_on:
- clickhouse
- db
- redis
- rabbitmq
migrations:
condition: service_completed_successfully
clickhouse:
condition: service_started
db:
condition: service_healthy
redis:
condition: service_started
rabbitmq:
condition: service_started

migrations:
build: .
environment: *django_env
command: python manage.py migrate
depends_on:
db:
condition: service_healthy
volumes:
- .:/code

web:
build:
Expand All @@ -55,7 +70,7 @@ services:
- app

db:
image: postgres:14-alpine
image: postgres:16-alpine
restart: on-failure
environment:
POSTGRES_USER: housewatch
Expand Down
Loading
Loading