Merge branch 'ciImage' into 'main'

Upgrade CI docker image

See merge request v3/service/auth!59
This commit is contained in:
Sylvain Briat 2023-11-16 09:29:43 +00:00
commit 7c3b852a04
5 changed files with 8 additions and 9 deletions

View File

@ -5,11 +5,8 @@ SERVICE_PORT=5002
# PRISMA
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
# RABBIT MQ
RMQ_URI=amqp://v3-auth-broker:5672
# MESSAGE BROKER
BROKER_IMAGE=rabbitmq:3-alpine
MESSAGE_BROKER_IMAGE=rabbitmq:3-alpine
# POSTGRES
POSTGRES_IMAGE=postgres:15.0

View File

@ -1,8 +1,10 @@
ARG NODE_VERSION=20.9.0
###################
# BUILD FOR CI TESTING
###################
FROM node:18-alpine3.16
FROM node:${NODE_VERSION}
# Create app directory
WORKDIR /usr/src/app

View File

@ -15,7 +15,7 @@ services:
broker:
container_name: v3-broker
image: ${BROKER_IMAGE}
image: ${MESSAGE_BROKER_IMAGE}
ports:
- 5672:5672
networks:

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@mobicoop/auth",
"version": "0.7.0",
"version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@mobicoop/auth",
"version": "0.7.0",
"version": "0.8.0",
"license": "AGPL",
"dependencies": {
"@golevelup/nestjs-rabbitmq": "^4.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@mobicoop/auth",
"version": "0.7.0",
"version": "0.8.0",
"description": "Mobicoop V3 Auth Service",
"author": "sbriat",
"private": true,