quivr/docker-compose.dev.yml

85 lines
1.6 KiB
YAML
Raw Normal View History

2023-12-02 19:08:21 +03:00
version: "3.8"
services:
2023-07-17 09:57:27 +03:00
backend-core:
2023-11-14 12:03:25 +03:00
image: backend-base
2023-12-02 19:08:21 +03:00
pull_policy: never
env_file:
2023-12-02 19:08:21 +03:00
- .env
build:
context: backend
dockerfile: Dockerfile.dev
args:
- DEV_MODE=true
2023-07-17 09:57:27 +03:00
container_name: backend-core
volumes:
- ./backend/:/code/
2024-01-03 23:53:37 +03:00
command:
2023-12-02 19:08:21 +03:00
- "uvicorn"
- "main:app"
- "--reload"
2023-12-02 19:08:21 +03:00
- "--host"
- "0.0.0.0"
- "--port"
- "5050"
- "--workers"
- "6"
2024-01-03 23:53:37 +03:00
restart: always
2023-09-14 18:23:17 +03:00
ports:
- 5050:5050
- 5678:5678 # debug port
2023-09-14 18:23:17 +03:00
redis:
chore(deps): pin dependencies (#1975) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | pinDigest | -> `b4ffde6` | | [actions/setup-node](https://togithub.com/actions/setup-node) | action | pinDigest | -> `b39b52d` | | [actions/setup-python](https://togithub.com/actions/setup-python) | action | pinDigest | -> `65d7f2d` | | [aws-actions/amazon-ecr-login](https://togithub.com/aws-actions/amazon-ecr-login) | action | pinDigest | -> `2fc7ace` | | [aws-actions/amazon-ecs-deploy-task-definition](https://togithub.com/aws-actions/amazon-ecs-deploy-task-definition) | action | pinDigest | -> `df96430` | | [aws-actions/amazon-ecs-render-task-definition](https://togithub.com/aws-actions/amazon-ecs-render-task-definition) | action | pinDigest | -> `4225e0b` | | [aws-actions/configure-aws-credentials](https://togithub.com/aws-actions/configure-aws-credentials) | action | pinDigest | -> `5fd3084` | | darthsim/imgproxy | | pinDigest | -> `0facd35` | | [docker/build-push-action](https://togithub.com/docker/build-push-action) | action | pinDigest | -> `0a97817` | | [docker/build-push-action](https://togithub.com/docker/build-push-action) | action | pinDigest | -> `4a13e50` | | [docker/login-action](https://togithub.com/docker/login-action) | action | pinDigest | -> `465a078` | | [docker/login-action](https://togithub.com/docker/login-action) | action | pinDigest | -> `343f7c4` | | [docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action) | action | pinDigest | -> `885d146` | | [docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action) | action | pinDigest | -> `f95db51` | | [docker/setup-qemu-action](https://togithub.com/docker/setup-qemu-action) | action | pinDigest | -> `6882732` | | [google-github-actions/release-please-action](https://togithub.com/google-github-actions/release-please-action) | action | pinDigest | -> `db8f2c6` | | kong | | pinDigest | -> `1b53405` | | [pavelzw/pytest-action](https://togithub.com/pavelzw/pytest-action) | action | pinDigest | -> `510c5e9` | | postgrest/postgrest | | pinDigest | -> `23b2dab` | | python | final | pinDigest | -> `0c1fbb2` | | redis | | pinDigest | -> `a7cee7c` | | supabase/edge-runtime | | pinDigest | -> `4e02aac` | | supabase/gotrue | | pinDigest | -> `b503f1f` | | supabase/logflare | | pinDigest | -> `e693c78` | | supabase/postgres | | pinDigest | -> `fb8387f` | | supabase/postgres-meta | | pinDigest | -> `31a107d` | | supabase/realtime | | pinDigest | -> `634a59e` | | supabase/storage-api | | pinDigest | -> `2cd146f` | | supabase/studio | | pinDigest | -> `393669f` | | timberio/vector | | pinDigest | -> `4bc04ac` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/StanGirard/quivr). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-04 16:00:18 +03:00
image: redis:latest@sha256:a7cee7c8178ff9b5297cb109e6240f5072cdaaafd775ce6b586c3c704b06458e
2023-09-14 18:23:17 +03:00
container_name: redis
2023-12-02 19:08:21 +03:00
restart: always
2023-09-14 18:23:17 +03:00
ports:
- 6379:6379
2023-09-14 18:23:17 +03:00
worker:
2023-12-02 19:08:21 +03:00
pull_policy: never
2023-11-14 12:03:25 +03:00
image: backend-base
env_file:
2023-12-02 19:08:21 +03:00
- .env
build:
context: backend
2023-12-02 19:08:21 +03:00
dockerfile: Dockerfile
2023-09-14 18:23:17 +03:00
container_name: worker
command: celery -A celery_worker worker -l info
2023-12-02 19:08:21 +03:00
restart: always
depends_on:
- redis
beat:
image: backend-base
pull_policy: never
env_file:
- .env
build:
context: backend
dockerfile: Dockerfile
container_name: beat
command: celery -A celery_worker beat -l info
restart: always
2023-09-14 18:23:17 +03:00
depends_on:
- redis
2023-09-14 18:23:17 +03:00
flower:
2023-11-14 12:03:25 +03:00
image: backend-base
2023-12-02 19:08:21 +03:00
pull_policy: never
env_file:
2023-12-02 19:08:21 +03:00
- .env
build:
context: backend
2023-12-02 19:08:21 +03:00
dockerfile: Dockerfile
2023-09-14 18:23:17 +03:00
container_name: flower
command: celery -A celery_worker flower -l info --port=5555
2023-12-02 19:08:21 +03:00
restart: always
2023-09-14 18:23:17 +03:00
depends_on:
- redis
- worker
2023-12-02 19:08:21 +03:00
- beat
2023-09-14 18:23:17 +03:00
ports:
- 5555:5555