Commit efddbbac authored by Ignacio's avatar Ignacio
Browse files

Crea config para dev

parent 5b05f11f
Loading
Loading
Loading
Loading

.env

0 → 100644
+1 −0
Original line number Diff line number Diff line
PORT=5601
 No newline at end of file

.gitlab-ci.yml

0 → 100644
+23 −0
Original line number Diff line number Diff line
image: docker:stable

stages:
  - deploy

deploy-dev:
  stage: deploy
  image: registry.gitlab.com/redmic-project/docker/docker-deploy:latest
  variables:
    DOCKER_DRIVER: overlay2
    SSH_REMOTE: ${DEV_SSH_REMOTE}
    COMPOSE_FILE: docker-compose.tmpl.yml:docker-compose.dev.yml
    ELASTIC_USER_PASS: ${DEV_ELASTIC_USER_PASS}
  services:
    - docker:dind
  script:
    - >
      deploy.sh COMPOSE_FILE=${COMPOSE_FILE} ELASTIC_USER_PASS=${ELASTIC_USER_PASS}
  environment:
    name: dev
  only:
    - branches
  when: manual
 No newline at end of file

docker-compose.dev.yml

0 → 100644
+10 −0
Original line number Diff line number Diff line
version: '3.5'

services:
  kibana:
    container_name: kibana
    restart: on-failure:3
    networks:
      - elastic-net
    ports:
      - ${PORT}:${PORT}
 No newline at end of file
+0 −3
Original line number Diff line number Diff line
@@ -3,9 +3,6 @@ version: '3.5'
services:
  kibana:
    image: docker.elastic.co/kibana/kibana:5.6.10
    ports:
      - 5601:5601

    environment:
      SERVER_NAME: kibana.redmic.net
      ELASTICSEARCH_URL: http://elasticsearch:9200