mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-08-28 10:15:12 -05:00
* Refactor Dockerfile to support multiple variants and drop supervisord * Rename run.sh to docker-entrypoint.sh * Update tests for apache conatiner * Fix tests in conatiner * Fix database startup * Update Makefile to build all variants * Update phpMyAdmin to 4.8.4 * Rebase on top of v4.8.5
27 lines
549 B
YAML
27 lines
549 B
YAML
version: '2'
|
|
|
|
services:
|
|
db_server:
|
|
image: ${DB}
|
|
container_name: phpmyadmin_testing_db
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${TESTSUITE_PASSWORD}
|
|
volumes:
|
|
- ./testing/testing.cnf:/etc/mysql/conf.d/testing.cnf:ro
|
|
|
|
phpmyadmin:
|
|
build:
|
|
context: testing/
|
|
links:
|
|
- db_server:db_server
|
|
container_name: phpmyadmin_testing
|
|
volumes:
|
|
- /sessions
|
|
ports:
|
|
- 8090:80
|
|
environment:
|
|
- PMA_ARBITRARY=1
|
|
- TESTSUITE_PASSWORD=${TESTSUITE_PASSWORD}
|
|
depends_on:
|
|
- db_server
|