Skip to content

Commit

Permalink
chore: just a few dev cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Jan 7, 2025
1 parent 08e9836 commit 8c8acf9
Show file tree
Hide file tree
Showing 5 changed files with 3,122 additions and 2,802 deletions.
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

0 comments on commit 8c8acf9

Please sign in to comment.