Commit 78a913bc authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Merge branch 'dev' into 'master'

Dev

See merge request redmic-project/portainer!1
parents ae304f5f 645daeb5
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+18 −0
Original line number Diff line number Diff line
include:
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/deployment.yml'

stages:
  - deploy

variables:
  STACK: ${CI_PROJECT_NAME}
  DD_AGENT_IMAGE_NAME: portainer/agent
  DD_PORTAINER_IMAGE_NAME: portainer/portainer

.deploy:
  variables:
    SERVICES_TO_CHECK: ${CI_PROJECT_NAME}_agent ${CI_PROJECT_NAME}_${CI_PROJECT_NAME}
  environment:
    url: https://${CI_PROJECT_NAME}.${PUBLIC_HOSTNAME}

LICENSE

0 → 100644
+21 −0
Original line number Diff line number Diff line
MIT License

Copyright (c) 2019 REDMIC Project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

deploy/.env

0 → 100644
+4 −0
Original line number Diff line number Diff line
AGENT_PORT=9001
LOG_LEVEL=error
PORTAINER_PORT=9000
PORTAINER_VOL_NAME=portainer-vol
+5 −0
Original line number Diff line number Diff line
version: '3.5'

volumes:
  portainer-vol:
    name: ${PORTAINER_VOL_NAME}
+15 −0
Original line number Diff line number Diff line
version: '3.5'

services:
  portainer:
    deploy:
      placement:
        constraints:
          - node.role == manager

volumes:
  portainer-vol:
    name: ${PORTAINER_VOL_NAME}
    driver: 'cloudstor:aws'
    driver_opts:
      backing: shared
Loading