From 616e7c51a43cb10a802f0ab4199b0604071d4799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFck=20Piera?= Date: Thu, 21 Nov 2024 18:37:45 +0100 Subject: [PATCH] Do not pull docker image for now --- castor.php | 8 ++------ infrastructure/docker/docker-compose.builder.yml | 1 - infrastructure/docker/docker-compose.yml | 2 -- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/castor.php b/castor.php index 07fc8b6..5503f30 100644 --- a/castor.php +++ b/castor.php @@ -37,16 +37,12 @@ function create_default_variables(): array } #[AsTask(description: 'Builds and starts the infrastructure, then install the application (composer, yarn, ...)')] -function start(bool $build = false): void +function start(): void { io()->title('Starting the stack'); generate_certificates(force: false); - if ($build) { - build(); - } else { - pull(); - } + build(); up(profiles: ['default']); // We can't start worker now, they are not installed cache_clear(); install(); diff --git a/infrastructure/docker/docker-compose.builder.yml b/infrastructure/docker/docker-compose.builder.yml index d107259..1ad157f 100644 --- a/infrastructure/docker/docker-compose.builder.yml +++ b/infrastructure/docker/docker-compose.builder.yml @@ -3,7 +3,6 @@ volumes: services: builder: - image: "ghcr.io/jolicode/monologue/builder:${BUILDER_VERSION:-latest}" build: context: services/php target: builder diff --git a/infrastructure/docker/docker-compose.yml b/infrastructure/docker/docker-compose.yml index 84ecb7f..73504b6 100644 --- a/infrastructure/docker/docker-compose.yml +++ b/infrastructure/docker/docker-compose.yml @@ -3,7 +3,6 @@ volumes: services: router: - image: "ghcr.io/jolicode/monologue/router:${ROUTER_VERSION:-latest}" build: context: services/router # cache_to: @@ -23,7 +22,6 @@ services: - default frontend: - image: "ghcr.io/jolicode/monologue/frontend:${FRONTEND_VERSION:-latest}" build: context: services/php target: frontend