Semaphore/deployment/docker/dev/docker-compose.yml

38 lines
965 B
YAML
Raw Normal View History

version: '2'
2016-08-23 05:17:32 +02:00
services:
mysql:
2018-05-22 19:25:35 +02:00
image: mysql:5.6
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: semaphore
MYSQL_USER: semaphore
MYSQL_PASSWORD: semaphore
ports:
- "3306:3306"
2016-08-23 05:17:32 +02:00
2018-03-12 01:35:24 +01:00
semaphore_dev:
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"
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"
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
ports:
2018-03-12 01:35:24 +01:00
- "3000:3000"
depends_on:
- mysql