Skip to content

Commit

Permalink
chore: restored docker compose file.
Browse files Browse the repository at this point in the history
  • Loading branch information
hareshkainthdbt committed Dec 4, 2024
1 parent 9d45690 commit 6ea3232
Showing 1 changed file with 1 addition and 52 deletions.
53 changes: 1 addition & 52 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
volumes:
postgres_data:
driver: local

services:
db:
image: postgres:16.2
Expand Down Expand Up @@ -36,58 +37,6 @@ services:
networks:
- proxynet

redis:
# The version we will run when migrating to DBT Platform
image: redis:7.0.15
volumes:
- redis_data:/data
ports:
- "6379"
networks:
- backend

celery-worker:
build:
context: .
dockerfile: local_deployment/Dockerfile
command: celery --app=config.celery:app worker --loglevel=INFO -Q celery,mail,reports
environment:
- DJANGO_SETTINGS_MODULE
env_file:
- .env
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
volumes:
- .:/code
networks:
- backend
- public
healthcheck:
test: [ "CMD-SHELL", "python -m dbt_copilot_python.celery_health_check.healthcheck" ]
interval: 10s
timeout: 5s
retries: 2
start_period: 5s

celery-beat:
build:
context: .
dockerfile: local_deployment/Dockerfile
environment:
- DJANGO_SETTINGS_MODULE
env_file:
- .env
command: celery --app=config.celery:app beat --loglevel=INFO
depends_on:
- redis
volumes:
- .:/code
networks:
- backend
-
networks:
proxynet:
name: fbr_network

0 comments on commit 6ea3232

Please sign in to comment.