You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
658 B
YAML
33 lines
658 B
YAML
version: '3'
|
|
|
|
services:
|
|
tests:
|
|
container_name: tests
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- .:/code
|
|
working_dir: /code
|
|
depends_on:
|
|
- mongodb
|
|
- mysql
|
|
|
|
mysql:
|
|
container_name: mysql
|
|
image: mysql:5.7
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD:
|
|
MYSQL_DATABASE: unittest
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
|
|
logging:
|
|
driver: none
|
|
|
|
mongodb:
|
|
container_name: mongodb
|
|
image: mongo
|
|
ports:
|
|
- 27017:27017
|
|
logging:
|
|
driver: none
|