Skip to content

Commit

Permalink
Do not pull docker image for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrech committed Nov 21, 2024
1 parent 50ba2a8 commit dcf8cd8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
8 changes: 2 additions & 6 deletions castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion infrastructure/docker/docker-compose.builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ volumes:

services:
builder:
image: "ghcr.io/jolicode/monologue/builder:${BUILDER_VERSION:-latest}"
build:
context: services/php
target: builder
Expand Down
2 changes: 0 additions & 2 deletions infrastructure/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ volumes:

services:
router:
image: "ghcr.io/jolicode/monologue/router:${ROUTER_VERSION:-latest}"
build:
context: services/router
# cache_to:
Expand All @@ -23,7 +22,6 @@ services:
- default

frontend:
image: "ghcr.io/jolicode/monologue/frontend:${FRONTEND_VERSION:-latest}"
build:
context: services/php
target: frontend
Expand Down

0 comments on commit dcf8cd8

Please sign in to comment.