From 9afbc972074be6ef90b9a9d7f5627089a7bcf2a7 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Wed, 10 Apr 2024 11:49:13 +0200 Subject: [PATCH] chore: Added named docker-compose for monorepos --- docker-compose.restore.yml | 2 +- docker-compose.symfony.yml | 1 + docker-compose.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.restore.yml b/docker-compose.restore.yml index f34a8e0..6702625 100644 --- a/docker-compose.restore.yml +++ b/docker-compose.restore.yml @@ -1,7 +1,7 @@ # Restoring from a backup into development environment # Separate file to avoid running the restore services when using docker-compose up # docker compose -f docker-compose.restore.yml --env-file .env.local run --rm restore_files -version: '3.6' +name: skeleton services: restore_files: # Keep the same hostname for all Restic services diff --git a/docker-compose.symfony.yml b/docker-compose.symfony.yml index c0a6d96..07efbbb 100644 --- a/docker-compose.symfony.yml +++ b/docker-compose.symfony.yml @@ -1,6 +1,7 @@ # # Only use this docker compose template if you prefer using symfony server:start # +name: skeleton services: db: build: diff --git a/docker-compose.yml b/docker-compose.yml index 8700a3b..4ecaec2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,4 @@ +name: skeleton services: db: build: