mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
36 lines
925 B
YAML
36 lines
925 B
YAML
version: '2'
|
|
|
|
services:
|
|
mysql:
|
|
image: mysql
|
|
environment:
|
|
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
|
MYSQL_DATABASE: semaphore
|
|
MYSQL_USER: semaphore
|
|
MYSQL_PASSWORD: semaphore
|
|
|
|
semaphore_dev:
|
|
image: castawaylabs/semaphore-dev:latest
|
|
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
|
|
SEMAPHORE_PLAYBOOK_PATH: /etc/semaphore
|
|
SEMAPHORE_ADMIN_PASSWORD: password
|
|
SEMAPHORE_ADMIN_NAME: "Developer"
|
|
SEMAPHORE_ADMIN_EMAIL: admin@localhost
|
|
SEMAPHORE_ADMIN: admin
|
|
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
|
|
ports:
|
|
- "3000:3000"
|
|
depends_on:
|
|
- mysql
|
|
|