feat: try to run ci\cd
This commit is contained in:
parent
c79e2f705f
commit
143cd9f7c5
3
.gitlab-ci.yml
Normal file
3
.gitlab-ci.yml
Normal file
@ -0,0 +1,3 @@
|
||||
include:
|
||||
- project: "devops/pena-continuous-integration"
|
||||
file: "/nodejs/docker/nodejs.gitlab-ci.yml"
|
@ -1,4 +1,4 @@
|
||||
FROM node:16-alpine as dev
|
||||
FROM node:19.1-alpine as dev
|
||||
|
||||
RUN apk update && rm -rf /var/cache/apk/*
|
||||
|
||||
@ -17,7 +17,7 @@ RUN ls
|
||||
|
||||
RUN yarn build
|
||||
|
||||
FROM node:16-alpine as production
|
||||
FROM node:19.1-alpine as production
|
||||
|
||||
RUN apk update && rm -rf /var/cache/apk/*
|
||||
|
||||
|
28
deployments/staging/docker-compose.yaml
Normal file
28
deployments/staging/docker-compose.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
admin:
|
||||
container_name: hub-admin-backend-service
|
||||
restart: unless-stopped
|
||||
tty: true
|
||||
image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||
expose:
|
||||
- 8005
|
||||
networks:
|
||||
- marketplace_penahub_frontend
|
||||
- default
|
||||
environment:
|
||||
- DB_HOST=10.6.0.11
|
||||
- DB_PORT=27017
|
||||
- ENVIRONMENT=staging
|
||||
- HTTP_HOST=0.0.0.0
|
||||
- HTTP_PORT=8005
|
||||
- AUTH_SERVICE_HOST=http://pena-auth-service
|
||||
- AUTH_SERVICE_PORT=8000
|
||||
- DB_USERNAME=$DB_USERNAME
|
||||
- DB_PASSWORD=$DB_PASSWORD
|
||||
- DB_NAME=administrator
|
||||
- PUBLIC_ACCESS_SECRET_KEY=$PUBLIC_ACCESS_SECRET_KEY
|
||||
networks:
|
||||
marketplace_penahub_frontend:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user