diff --git a/Dockerfile b/Dockerfile index 4eb6c0f4bcd..35f5beeb5e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,7 +71,7 @@ COPY docker/start.sh /start.sh WORKDIR /etc/temporal -ENV SERVICES="--services=history --services=matching --services=frontend --services=worker" +ENV SERVICES="history,matching,frontend,worker" EXPOSE 6933 6934 6935 6939 7233 7234 7235 7239 ENTRYPOINT ["/docker-entrypoint.sh"] diff --git a/docker/start-temporal.sh b/docker/start-temporal.sh index 978a5bcd01b..7f832452ad7 100755 --- a/docker/start-temporal.sh +++ b/docker/start-temporal.sh @@ -4,4 +4,4 @@ set -ex dockerize -template /etc/temporal/config/config_template.yaml:/etc/temporal/config/docker.yaml -exec temporal-server --root $TEMPORAL_HOME --env docker start $SERVICES +exec temporal-server --root $TEMPORAL_HOME --env docker start --services=$SERVICES