mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 23:31:05 +01:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
mysql:
|
|
image: mysql:5.6
|
|
environment:
|
|
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
|
MYSQL_DATABASE: semaphore
|
|
MYSQL_USER: semaphore
|
|
MYSQL_PASSWORD: semaphore
|
|
ports:
|
|
- "3306:3306"
|
|
|
|
semaphore_ci:
|
|
image: semaphoreui/semaphore:ci-compose
|
|
build:
|
|
context: ./../../../
|
|
dockerfile: ./deployment/docker/ci/Dockerfile
|
|
environment:
|
|
SEMAPHORE_DB_DIALECT: mysql
|
|
SEMAPHORE_DB_USER: semaphore
|
|
SEMAPHORE_DB_PASS: semaphore
|
|
SEMAPHORE_DB_HOST: mysql
|
|
SEMAPHORE_DB_PORT: 3306
|
|
SEMAPHORE_DB: 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
|
|
SEMAPHORE_ACCESS_KEY_ENCRYPTION: "IlRqgrrO5Gp27MlWakDX1xVrPv4jhoUx+ARY+qGyDxQ="
|
|
ports:
|
|
- "3000:3000"
|
|
depends_on:
|
|
- mysql
|
|
|
|
dredd:
|
|
image: ansiblesemaphore/dredd:ci
|
|
command: ["--config", ".dredd/dredd.yml"]
|
|
environment:
|
|
SEMAPHORE_ACCESS_KEY_ENCRYPTION: "IlRqgrrO5Gp27MlWakDX1xVrPv4jhoUx+ARY+qGyDxQ="
|
|
SEMAPHORE_DB_DIALECT: mysql
|
|
build:
|
|
context: ./../../../
|
|
dockerfile: ./deployment/docker/ci/dredd.Dockerfile
|
|
depends_on:
|
|
- semaphore_ci
|
|
- mysql
|
|
|