upgrade ci base docker image

This commit is contained in:
Sylvain Briat 2023-11-16 10:22:18 +01:00
parent d141a0ff83
commit ca1cd171cc
3 changed files with 5 additions and 6 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: