Semaphore/Deploy/docker-compose.yml
2016-08-23 11:03:47 -06:00

31 lines
445 B
YAML

mysql:
image: mysql
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: semaphore
MYSQL_USER: semaphore
MYSQL_PASSWORD: semaphore
hostname: mysql
expose:
- 3306
semaphore_api:
build: api
expose:
- 3000
ports:
- 8081:3000
links:
- mysql:mysql
semaphore_proxy:
build: proxy
expose:
- 443
- 80
ports:
- 8080:80
- 8443:443
links:
- semaphore_api:semaphore_api