Answer the question
In order to leave comments, you need to log in
How to write docker-compose.yml with db for tests?
There is a dockerized project, docker-compose.yml looks like this:
version: '3'
services:
web:
/*Основное приложение*/
db:
/*База данных*/
phpmyadmin:
/*PHPMyAdmin*/
ports:
- 8080:80
depends_on:
- db
test_db:
/*База данных*/
test_phpmyadmin:
/*PHPMyAdmin*/
ports:
- 8080:80
depends_on:
- test_db
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question