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: