Skip to content

Semaphore

A CI/CD tool https://docs.semaphoreci.com/ tested sometimes ago.

Test an instance with docker-compose

Deploy semaphore
  ---
  version: '2'

  services:

    mysql:
      image: mysql:5.6
      hostname: mysql
      environment:
        MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
        MYSQL_DATABASE: semaphore
        MYSQL_USER: semaphore
        MYSQL_PASSWORD: xxxyyzzz

    semaphore:
      image: ansiblesemaphore/semaphore:v2.5.1
      environment:
        SEMAPHORE_DB_USER: semaphore
        SEMAPHORE_DB_PASS: xxxyyzzz
        SEMAPHORE_DB_HOST: mysql
        SEMAPHORE_DB_PORT: 3306
        SEMAPHORE_DB: semaphore
        SEMAPHORE_PLAYBOOK_PATH: /tmp/semaphore/
        SEMAPHORE_ADMIN_PASSWORD: cangetin
        SEMAPHORE_ADMIN_NAME: admin
        SEMAPHORE_ADMIN_EMAIL: admin@localhost
        SEMAPHORE_ADMIN: admin
        SEMAPHORE_ADMIN_PASSWORD: semYyshhdhdhXXX
      ports:
        - "3000:3000"
      depends_on:
        - mysql