From c04ac70d98eb985615716d184048d80b1638c168 Mon Sep 17 00:00:00 2001 From: thuankg1752 Date: Sun, 20 Oct 2024 22:23:24 +0700 Subject: [PATCH] fix: docker compose with hub --- docker-compose.yml | 3 ++- elastic/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cd6f0d0..90245ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -93,7 +93,8 @@ services: fe: container_name: "${COMPOSE_PROJECT_NAME}-fe" - image: ${COMPOSE_PROJECT_NAME}-node +# image: ${COMPOSE_PROJECT_NAME}-node + image: cslant/blog-node networks: - cslant_blog volumes: diff --git a/elastic/Dockerfile b/elastic/Dockerfile index 70377f5..66e40a1 100644 --- a/elastic/Dockerfile +++ b/elastic/Dockerfile @@ -1,5 +1,6 @@ ARG ELASTIC_STACK_VERSION=8.14.3 +FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_STACK_VERSION} + LABEL maintainer="Tan Nguyen " LABEL authors="cslant" -FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_STACK_VERSION}