From 9d2822e27b21adec49975065fb9ee5139eaac51c Mon Sep 17 00:00:00 2001 From: mahdikhanzadi <6291970+khanzadimahdi@users.noreply.github.com> Date: Fri, 3 Jan 2025 05:39:07 +0100 Subject: [PATCH] fix chown (#60) --- .github/workflows/infrastructure.yaml | 1 - infrastructure/compose.nats.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/infrastructure.yaml b/.github/workflows/infrastructure.yaml index ac6fd2e5..8a64b8ef 100644 --- a/.github/workflows/infrastructure.yaml +++ b/.github/workflows/infrastructure.yaml @@ -130,7 +130,6 @@ jobs: sudo mkdir -p $VOLUME_PATH/mongodb/db sudo mkdir -p $VOLUME_PATH/mongodb/configdb sudo mkdir -p $VOLUME_PATH/nats - sudo chown -R ${{ secrets.EC2_SSH_USER }}:${{ secrets.EC2_SSH_USER }} $VOLUME_PATH/* EOF # Copy files diff --git a/infrastructure/compose.nats.yaml b/infrastructure/compose.nats.yaml index da55a2dc..97c92674 100644 --- a/infrastructure/compose.nats.yaml +++ b/infrastructure/compose.nats.yaml @@ -12,7 +12,7 @@ services: delay: 5s max_attempts: 3 volumes: - - ${VOLUME_PATH}/nats:/jetstream + - ${VOLUME_PATH}/nats:/data command: ["--jetstream", "--http_port", "8222", "--port", "4222", "--store_dir", "/data"] networks: