From 9ad0a0aae850386d971d1ed8c4dd1c32ca4c115e Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Fri, 16 Aug 2024 21:14:44 +0700 Subject: [PATCH] chore: comment all redundant image build lines --- docker-compose.yml | 60 +++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e1dfa74..cd6f0d0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,10 +15,10 @@ services: nginx: container_name: "${COMPOSE_PROJECT_NAME}-nginx" image: cslant/blog-nginx - build: - context: nginx - args: - - TZ=${TZ} +# build: +# context: nginx +# args: +# - TZ=${TZ} volumes: - ./nginx/templates:/etc/nginx/templates - ./nginx/server/certs:/var/www/certs @@ -52,14 +52,14 @@ services: php: container_name: "${COMPOSE_PROJECT_NAME:-blog}-php" image: cslant/blog-php - build: - context: php - args: - - TZ=${TZ} - - USER_ID=${USER_ID:-1000} - - GROUP_ID=${GROUP_ID:-1000} - - PHP_VERSION=${PHP_VERSION:-8.3} - - PHP_VERSION_SHORT=${PHP_VERSION_SHORT:-83} +# build: +# context: php +# args: +# - TZ=${TZ} +# - USER_ID=${USER_ID:-1000} +# - GROUP_ID=${GROUP_ID:-1000} +# - PHP_VERSION=${PHP_VERSION:-8.3} +# - PHP_VERSION_SHORT=${PHP_VERSION_SHORT:-83} networks: - cslant_blog volumes: @@ -80,12 +80,12 @@ services: node: container_name: "${COMPOSE_PROJECT_NAME:-blog}-node" image: cslant/blog-node - build: - context: node - args: - - TZ=${TZ} - - USER_ID=${USER_ID:-1000} - - GROUP_ID=${GROUP_ID:-1000} +# build: +# context: node +# args: +# - TZ=${TZ} +# - USER_ID=${USER_ID:-1000} +# - GROUP_ID=${GROUP_ID:-1000} networks: - cslant_blog volumes: @@ -105,10 +105,10 @@ services: postgres: container_name: "${COMPOSE_PROJECT_NAME:-blog}-postgres" image: cslant/blog-postgres - build: - context: postgres - args: - - TZ=${TZ} +# build: +# context: postgres +# args: +# - TZ=${TZ} networks: - cslant_blog healthcheck: @@ -158,14 +158,14 @@ services: worker: container_name: "${COMPOSE_PROJECT_NAME}-worker" image: cslant/blog-worker - build: - context: worker - args: - - TZ=${TZ} - - USER_ID=${USER_ID} - - GROUP_ID=${GROUP_ID} - - PHP_VERSION=${PHP_VERSION:-8.3} - - PHP_VERSION_SHORT=${PHP_VERSION_SHORT:-83} +# build: +# context: worker +# args: +# - TZ=${TZ} +# - USER_ID=${USER_ID} +# - GROUP_ID=${GROUP_ID} +# - PHP_VERSION=${PHP_VERSION:-8.3} +# - PHP_VERSION_SHORT=${PHP_VERSION_SHORT:-83} networks: - cslant_blog volumes: