update compose
This commit is contained in:
parent
8c4e8a8073
commit
0b0d786665
|
@ -2,7 +2,7 @@
|
||||||
# BUILD FOR LOCAL DEVELOPMENT
|
# BUILD FOR LOCAL DEVELOPMENT
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM node:18-alpine As development
|
FROM node:18-alpine3.16 As development
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
@ -25,7 +25,7 @@ USER node
|
||||||
# BUILD FOR PRODUCTION
|
# BUILD FOR PRODUCTION
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM node:18-alpine As build
|
FROM node:18-alpine3.16 As build
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ USER node
|
||||||
# PRODUCTION
|
# PRODUCTION
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM node:18-alpine As production
|
FROM node:18-alpine3.16 As production
|
||||||
|
|
||||||
# Copy package.json to be able to execute migration command
|
# Copy package.json to be able to execute migration command
|
||||||
COPY --chown=node:node package*.json ./
|
COPY --chown=node:node package*.json ./
|
||||||
|
|
|
@ -4,7 +4,7 @@ Authentication (AuthN) and Authorization (AuthZ) data management.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
You need [Docker](https://docs.docker.com/engine/) and [Docker-compose](https://docs.docker.com/compose/).
|
You need [Docker](https://docs.docker.com/engine/) and its [compose](https://docs.docker.com/compose/) plugin.
|
||||||
|
|
||||||
A RabbitMQ instance is also required to send / receive messages when data has been inserted/updated/deleted.
|
A RabbitMQ instance is also required to send / receive messages when data has been inserted/updated/deleted.
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ and modify it to suit your needs.
|
||||||
Then execute :
|
Then execute :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
The app runs automatically on the port defined in `SERVICE_PORT` of `.env` file (default : _5002_).
|
The app runs automatically on the port defined in `SERVICE_PORT` of `.env` file (default : _5002_).
|
||||||
|
|
Loading…
Reference in New Issue