Skip to content

Instantly share code, notes, and snippets.

@fiftin
Created November 1, 2020 06:38
Show Gist options
  • Save fiftin/7c7e7d605c3f5079490e84393fe7fec6 to your computer and use it in GitHub Desktop.
Save fiftin/7c7e7d605c3f5079490e84393fe7fec6 to your computer and use it in GitHub Desktop.
Ansible Semaphore 2.5.3
# This dockerfile provides an example of using the production image in a working stack
version: '2'
services:
mysql:
ports:
- 3306:3306
image: mysql:5.6
hostname: mysql
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: semaphore
MYSQL_USER: semaphore
MYSQL_PASSWORD: semaphore
semaphore:
ports:
- 3000:3000
image: ansiblesemaphore/semaphore:v2.5.3
environment:
SEMAPHORE_DB_USER: semaphore
SEMAPHORE_DB_PASS: semaphore
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
depends_on:
- mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment