release/2024-10-11: Final touchups
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -7,7 +7,7 @@ _reference
|
|||||||
client
|
client
|
||||||
redis/dockerdata
|
redis/dockerdata
|
||||||
hasura
|
hasura
|
||||||
|
node_modules
|
||||||
# Files to exclude
|
# Files to exclude
|
||||||
.ebignore
|
.ebignore
|
||||||
.editorconfig
|
.editorconfig
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ WORKDIR /app
|
|||||||
RUN git config --global --add safe.directory /app
|
RUN git config --global --add safe.directory /app
|
||||||
|
|
||||||
# Copy package.json and package-lock.json
|
# Copy package.json and package-lock.json
|
||||||
COPY package*.json ./
|
COPY package.json ./
|
||||||
|
|
||||||
# Install Nodemon
|
# Install Nodemon
|
||||||
RUN npm install -g nodemon
|
RUN npm install -g nodemon
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN npm ci
|
RUN npm i --no-package-lock
|
||||||
|
|
||||||
# Copy the rest of your application code
|
# Copy the rest of your application code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ services:
|
|||||||
context: ./redis
|
context: ./redis
|
||||||
container_name: redis-node-1
|
container_name: redis-node-1
|
||||||
hostname: redis-node-1
|
hostname: redis-node-1
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- redis-cluster-net
|
- redis-cluster-net
|
||||||
volumes:
|
volumes:
|
||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
context: ./redis
|
context: ./redis
|
||||||
container_name: redis-node-2
|
container_name: redis-node-2
|
||||||
hostname: redis-node-2
|
hostname: redis-node-2
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- redis-cluster-net
|
- redis-cluster-net
|
||||||
volumes:
|
volumes:
|
||||||
@@ -50,7 +50,7 @@ services:
|
|||||||
context: ./redis
|
context: ./redis
|
||||||
container_name: redis-node-3
|
container_name: redis-node-3
|
||||||
hostname: redis-node-3
|
hostname: redis-node-3
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- redis-cluster-net
|
- redis-cluster-net
|
||||||
volumes:
|
volumes:
|
||||||
@@ -70,7 +70,7 @@ services:
|
|||||||
hostname: localstack
|
hostname: localstack
|
||||||
networks:
|
networks:
|
||||||
- redis-cluster-net
|
- redis-cluster-net
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
@@ -134,6 +134,11 @@ services:
|
|||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000"
|
- "4000:4000"
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
# rebuild image and recreate service
|
||||||
|
- path: package.json
|
||||||
|
action: rebuild
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
- node-app-npm-cache:/app/node_modules
|
- node-app-npm-cache:/app/node_modules
|
||||||
@@ -152,7 +157,7 @@ services:
|
|||||||
# image: redislabs/redisinsight:latest
|
# image: redislabs/redisinsight:latest
|
||||||
# container_name: redis-insight
|
# container_name: redis-insight
|
||||||
# hostname: redis-insight
|
# hostname: redis-insight
|
||||||
# restart: always
|
# restart: unless-stopped
|
||||||
# ports:
|
# ports:
|
||||||
# - "3334:5540"
|
# - "3334:5540"
|
||||||
# networks:
|
# networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user