From bb1b26569b1603e48629451197b97948a2dc83a6 Mon Sep 17 00:00:00 2001 From: CarelessInternet <59174259+CarelessInternet@users.noreply.github.com> Date: Tue, 5 Mar 2024 01:15:18 +0100 Subject: [PATCH] refactor(docker-compose): set image version as development for developing (#372) --- .devcontainer/docker-compose.yaml | 3 ++- base-compose.yaml | 1 - compose.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/docker-compose.yaml b/.devcontainer/docker-compose.yaml index 6fc76a48..8e8a884e 100644 --- a/.devcontainer/docker-compose.yaml +++ b/.devcontainer/docker-compose.yaml @@ -13,7 +13,7 @@ services: - MYSQL_TCP_PORT=3307 ports: - "3307:3307" - + # Update this to the name of the service you want to work with in your docker-compose.yml file bot: # Uncomment if you want to override the service's Dockerfile to one in the .devcontainer @@ -24,6 +24,7 @@ services: build: context: . dockerfile: .devcontainer/bot/Dockerfile + image: ticketer-bot:development networks: - ticketer-development-database-network diff --git a/base-compose.yaml b/base-compose.yaml index b416f8bf..9d7a9122 100644 --- a/base-compose.yaml +++ b/base-compose.yaml @@ -30,7 +30,6 @@ services: build: context: . dockerfile: ./apps/bot/Dockerfile - image: ticketer-bot:3.0.0 restart: unless-stopped depends_on: database: diff --git a/compose.yaml b/compose.yaml index fda8af02..5f7783bc 100644 --- a/compose.yaml +++ b/compose.yaml @@ -42,6 +42,7 @@ services: extends: file: base-compose.yaml service: bot + image: ticketer-bot:3.0.0 networks: - ticketer-database-network # Reads the file(s) and exposes the variables when running the container. Undefined files are not allowed.