Commit fa5bfd28 authored by Noel Alonso's avatar Noel Alonso
Browse files

Elimina prefijo de variables

parent a486c3f6
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ version: '3.5'

services:
  backup-db:
    image: ${BACKUP_DB_IMAGE_NAME:-registry.gitlab.com/redmic-project/postgres/backup-db}:${BACKUP_DB_IMAGE_TAG:-latest}
    image: ${IMAGE_NAME:-registry.gitlab.com/redmic-project/postgres/backup-db}:${IMAGE_TAG:-latest}
    build:
      context: ..
      dockerfile: ${DOCKERFILE:-Dockerfile}
@@ -32,17 +32,17 @@ services:
      metric-net:
    deploy:
      mode: replicated
      replicas: ${BACKUP_DB_REPLICAS:-1}
      replicas: ${REPLICAS:-1}
      restart_policy:
        condition: on-failure
        delay: ${BACKUP_DB_RESTART_DELAY:-30s}
        delay: ${RESTART_DELAY:-30s}
      resources:
        limits:
          cpus: '${BACKUP_DB_RESOURCES_LIMITS_CPUS:-0.5}'
          memory: ${BACKUP_DB_RESOURCES_LIMITS_MEMORY:-256M}
          cpus: '${RESOURCES_LIMITS_CPUS:-0.5}'
          memory: ${RESOURCES_LIMITS_MEMORY:-256M}
        reservations:
          cpus: '${BACKUP_DB_RESOURCES_RESERVATIONS_CPUS:-0.001}'
          memory: ${BACKUP_DB_RESOURCES_RESERVATIONS_MEMORY:-64M}
          cpus: '${RESOURCES_RESERVATIONS_CPUS:-0.001}'
          memory: ${RESOURCES_RESERVATIONS_MEMORY:-64M}

networks:
  postgres-net: