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 docker-compose.tmpl.yml +0 −3 Original line number Diff line number Diff line Loading @@ -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 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
docker-compose.tmpl.yml +0 −3 Original line number Diff line number Diff line Loading @@ -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 Loading