/
githubmirror
/
pop
Обзор
Документация
Войти
/
githubmirror
/
pop
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docker-compose.yml
49 строк
1 KB
Yonghwan SO
updated testing configuration also using reserved char
24 сен 2022, 08:29
24 сен 2022, 08:29
2cbff73
Код
Авторство
О чём код?
version: '2.1' services: mysql: image: mysql:5.7 environment: - MYSQL_ROOT_PASSWORD=root# - MYSQL_DATABASE=pop_test - MYSQL_USER=pop - MYSQL_PASSWORD=pop# ports: - "3307:3306" healthcheck: test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] interval: 5s timeout: 5s retries: 10 start_period: 3s postgres: image: postgres:10 environment: - POSTGRES_DB=pop_test - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres# - POSTGRES_DB=postgres ports: - "5433:5432" healthcheck: test: ["CMD", "pg_isready"] interval: 5s timeout: 5s retries: 10 start_period: 3s cockroach: image: cockroachdb/cockroach:latest-v21.1 ports: - "26258:26257" - "8081:8080" #volumes: #- ./_vol/cockroach:/cockroach/cockroach-data command: start-single-node --insecure healthcheck: test: ["CMD", "curl", "http://localhost:8080/health"] interval: 5s timeout: 5s retries: 10 start_period: 3s