From 9a212400a050ed6d3992be32680b35813b1d9eef Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Tue, 10 Jun 2025 18:10:53 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5(compose)=20remove=20app=20and=20ce?= =?UTF-8?q?lery=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `app` and `celery` services are not used when we run the compose configuration. The compose file is only used for development purpose. --- README.md | 2 +- docker-compose.yml | 34 ---------------------------------- 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/README.md b/README.md index 8c123fb5..a70131c3 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ The easiest way to start working on the project is to use [GNU Make](https://www $ make bootstrap FLUSH_ARGS='--no-input' ``` -This command builds the `app` container, installs dependencies, performs database migrations and compiles translations. It's a good idea to use this command each time you are pulling code from the project repository to avoid dependency-related or migration-related issues. +This command builds the `app-dev` and `frontend-dev` containers, installs dependencies, performs database migrations and compiles translations. It's a good idea to use this command each time you are pulling code from the project repository to avoid dependency-related or migration-related issues. Your Docker services should now be up and running 🎉 diff --git a/docker-compose.yml b/docker-compose.yml index f9025850..38a70dd9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -98,40 +98,6 @@ services: depends_on: - app-dev - app: - build: - context: . - target: backend-production - args: - DOCKER_USER: ${DOCKER_USER:-1000} - user: ${DOCKER_USER:-1000} - image: impress:backend-production - environment: - - DJANGO_CONFIGURATION=Demo - env_file: - - env.d/development/common - - env.d/development/postgresql - depends_on: - postgresql: - condition: service_healthy - restart: true - redis: - condition: service_started - minio: - condition: service_started - - celery: - user: ${DOCKER_USER:-1000} - image: impress:backend-production - command: ["celery", "-A", "impress.celery_app", "worker", "-l", "INFO"] - environment: - - DJANGO_CONFIGURATION=Demo - env_file: - - env.d/development/common - - env.d/development/postgresql - depends_on: - - app - nginx: image: nginx:1.25 ports: