use full registry path for docker image

This commit is contained in:
Fanch 2024-01-11 16:48:16 +01:00
parent 754cc002c4
commit ee2c5c35c8
5 changed files with 9 additions and 9 deletions

View File

@ -17,5 +17,5 @@ REDIS_PASSWORD=redis
REDIS_PORT=6379
# OPA
OPA_IMAGE=openpolicyagent/opa:0.58.0
OPA_IMAGE=docker.io/openpolicyagent/opa:0.58.0
OPA_URL=http://v3-auth-opa:8181/v1/data/

View File

@ -10,5 +10,5 @@ MESSAGE_BROKER_URI=amqp://mobicoop:mobicoop@v3-broker:5672
MESSAGE_BROKER_EXCHANGE=mobicoop
# OPA
OPA_IMAGE=openpolicyagent/opa:0.54.0
OPA_IMAGE=docker.io/openpolicyagent/opa:0.54.0
OPA_URL=http://v3-auth-opa:8181/v1/data/

View File

@ -4,7 +4,7 @@ ARG NODE_VERSION=20.9.0
# BUILD FOR LOCAL DEVELOPMENT
###################
FROM node:${NODE_VERSION} As development
FROM docker.io/node:${NODE_VERSION} As development
# Create app directory
WORKDIR /usr/src/app
@ -31,7 +31,7 @@ USER node
# BUILD FOR PRODUCTION
###################
FROM node:${NODE_VERSION} As build
FROM docker.io/node:${NODE_VERSION} As build
WORKDIR /usr/src/app
@ -68,7 +68,7 @@ USER node
# PRODUCTION
###################
FROM node:${NODE_VERSION} As production
FROM docker.io/node:${NODE_VERSION} As production
# Copy package.json to be able to execute migration command
COPY --chown=node:node package*.json ./
@ -80,4 +80,4 @@ COPY --chown=node:node --from=build /usr/src/app/opa ./opa
COPY --chown=node:node --from=build /usr/src/app/dist ./dist
# Start the server using the production build
CMD [ "node", "dist/main.js" ]
CMD [ "node", "--trace-warnings", "dist/main.js" ]

View File

@ -6,7 +6,7 @@ SERVICE_PORT=5002
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
# MESSAGE BROKER
MESSAGE_BROKER_IMAGE=rabbitmq:3-alpine
MESSAGE_BROKER_IMAGE=docker.io/rabbitmq:3-alpine
# POSTGRES
POSTGRES_IMAGE=postgres:15.0
POSTGRES_IMAGE=docker.io/postgres:15.0

View File

@ -4,7 +4,7 @@ ARG NODE_VERSION=20.9.0
# BUILD FOR CI TESTING
###################
FROM node:${NODE_VERSION}
FROM docker.io/node:${NODE_VERSION}
# Create app directory
WORKDIR /usr/src/app