2016-10-17 18:27:40 +02:00
|
|
|
version: '2'
|
2016-08-23 05:17:32 +02:00
|
|
|
|
2016-10-17 18:27:40 +02:00
|
|
|
services:
|
|
|
|
mysql:
|
2018-05-22 19:25:35 +02:00
|
|
|
image: mysql:5.6
|
2016-10-17 18:27:40 +02:00
|
|
|
environment:
|
|
|
|
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
|
|
|
MYSQL_DATABASE: semaphore
|
|
|
|
MYSQL_USER: semaphore
|
|
|
|
MYSQL_PASSWORD: semaphore
|
2018-04-11 20:05:38 +02:00
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
2016-08-23 05:17:32 +02:00
|
|
|
|
2018-03-12 01:35:24 +01:00
|
|
|
semaphore_dev:
|
2018-04-04 22:51:37 +02:00
|
|
|
image: ansiblesemaphore/semaphore:dev-compose
|
2018-03-12 01:35:24 +01:00
|
|
|
build:
|
|
|
|
context: ./../../../
|
|
|
|
dockerfile: ./deployment/docker/dev/Dockerfile
|
|
|
|
volumes:
|
|
|
|
- "./../../../:/go/src/github.com/ansible-semaphore/semaphore:rw"
|
2016-10-17 18:27:40 +02:00
|
|
|
environment:
|
|
|
|
SEMAPHORE_DB_USER: semaphore
|
|
|
|
SEMAPHORE_DB_PASS: semaphore
|
|
|
|
SEMAPHORE_DB_HOST: mysql
|
|
|
|
SEMAPHORE_DB_PORT: 3306
|
|
|
|
SEMAPHORE_DB: semaphore
|
2018-03-12 01:35:24 +01:00
|
|
|
SEMAPHORE_PLAYBOOK_PATH: /etc/semaphore
|
|
|
|
SEMAPHORE_ADMIN_PASSWORD: password
|
|
|
|
SEMAPHORE_ADMIN_NAME: "Developer"
|
2016-10-17 18:27:40 +02:00
|
|
|
SEMAPHORE_ADMIN_EMAIL: admin@localhost
|
|
|
|
SEMAPHORE_ADMIN: admin
|
2018-03-12 01:35:24 +01:00
|
|
|
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
|
2016-10-17 18:27:40 +02:00
|
|
|
ports:
|
2018-03-12 01:35:24 +01:00
|
|
|
- "3000:3000"
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
2016-10-17 18:27:40 +02:00
|
|
|
|