release/2024-10-11: Final touchups

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-10-11 22:59:44 -04:00
parent 3f5489ce7e
commit 25e6e61d10
3 changed files with 13 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ _reference
client
redis/dockerdata
hasura
node_modules
# Files to exclude
.ebignore
.editorconfig

View File

@@ -29,13 +29,13 @@ WORKDIR /app
RUN git config --global --add safe.directory /app
# Copy package.json and package-lock.json
COPY package*.json ./
COPY package.json ./
# Install Nodemon
RUN npm install -g nodemon
# Install dependencies
RUN npm ci
RUN npm i --no-package-lock
# Copy the rest of your application code
COPY . .

View File

@@ -14,7 +14,7 @@ services:
context: ./redis
container_name: redis-node-1
hostname: redis-node-1
restart: always
restart: unless-stopped
networks:
- redis-cluster-net
volumes:
@@ -32,7 +32,7 @@ services:
context: ./redis
container_name: redis-node-2
hostname: redis-node-2
restart: always
restart: unless-stopped
networks:
- redis-cluster-net
volumes:
@@ -50,7 +50,7 @@ services:
context: ./redis
container_name: redis-node-3
hostname: redis-node-3
restart: always
restart: unless-stopped
networks:
- redis-cluster-net
volumes:
@@ -70,7 +70,7 @@ services:
hostname: localstack
networks:
- redis-cluster-net
restart: always
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
@@ -134,6 +134,11 @@ services:
condition: service_completed_successfully
ports:
- "4000:4000"
develop:
watch:
# rebuild image and recreate service
- path: package.json
action: rebuild
volumes:
- .:/app
- node-app-npm-cache:/app/node_modules
@@ -152,7 +157,7 @@ services:
# image: redislabs/redisinsight:latest
# container_name: redis-insight
# hostname: redis-insight
# restart: always
# restart: unless-stopped
# ports:
# - "3334:5540"
# networks: