From 1a8cc50b33c982a6da12fc7608109281cb6e6575 Mon Sep 17 00:00:00 2001 From: ahmednasserswe Date: Thu, 12 Oct 2023 18:17:20 +0200 Subject: [PATCH] Update docker-compose.yml moving `args` under `build` --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dcf5413..20ae24c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,9 @@ version: '3.9' services: app: platform: linux/amd64 - build: . + build: + args: + - PRESTO_PORT=${PRESTO_PORT} env_file: - ./.env_file depends_on: @@ -14,8 +16,7 @@ services: - ./:/app ports: - "${PRESTO_PORT}:${PRESTO_PORT}" - args: - - PRESTO_PORT=${PRESTO_PORT} + elasticmq: image: softwaremill/elasticmq hostname: presto-elasticmq