upgrade ci base docker image
This commit is contained in:
parent
d141a0ff83
commit
ca1cd171cc
|
@ -5,11 +5,8 @@ SERVICE_PORT=5002
|
||||||
# PRISMA
|
# PRISMA
|
||||||
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
|
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
|
||||||
|
|
||||||
# RABBIT MQ
|
|
||||||
RMQ_URI=amqp://v3-auth-broker:5672
|
|
||||||
|
|
||||||
# MESSAGE BROKER
|
# MESSAGE BROKER
|
||||||
BROKER_IMAGE=rabbitmq:3-alpine
|
MESSAGE_BROKER_IMAGE=rabbitmq:3-alpine
|
||||||
|
|
||||||
# POSTGRES
|
# POSTGRES
|
||||||
POSTGRES_IMAGE=postgres:15.0
|
POSTGRES_IMAGE=postgres:15.0
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
|
ARG NODE_VERSION=20.9.0
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# BUILD FOR CI TESTING
|
# BUILD FOR CI TESTING
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM node:18-alpine3.16
|
FROM node:${NODE_VERSION}
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
|
|
||||||
broker:
|
broker:
|
||||||
container_name: v3-broker
|
container_name: v3-broker
|
||||||
image: ${BROKER_IMAGE}
|
image: ${MESSAGE_BROKER_IMAGE}
|
||||||
ports:
|
ports:
|
||||||
- 5672:5672
|
- 5672:5672
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue