pipeline updates
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
def
|
||||
.env
|
||||
|
||||
@@ -8,10 +8,20 @@ steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.mcrn.ar/sysmonstm
|
||||
repo: registry.mcrn.ar/sysmonstm/edge
|
||||
registry: registry.mcrn.ar
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:7}
|
||||
dockerfile: ctrl/edge/Dockerfile
|
||||
context: ctrl/edge
|
||||
|
||||
- name: deploy
|
||||
image: docker:24-cli
|
||||
commands:
|
||||
- cd /repo/ctrl/edge
|
||||
- docker compose pull
|
||||
- docker compose up -d --remove-orphans
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/mariano/sysmonstm:/repo
|
||||
|
||||
@@ -90,6 +90,8 @@ services:
|
||||
HTTP_PORT: 8000
|
||||
AGGREGATOR_URL: aggregator:50051
|
||||
SERVICE_NAME: gateway
|
||||
EDGE_URL: ${EDGE_URL:-}
|
||||
EDGE_API_KEY: ${EDGE_API_KEY:-}
|
||||
ports:
|
||||
- "${GATEWAY_PORT:-8000}:8000"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user