-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
53 lines (49 loc) · 1.4 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
php:
container_name: codeception-module-db
build:
context: ./docker/php${php:-8.3}
environment:
COMPOSER_HOME: /tmp/.composer
MYSQL_HOST: host.docker.internal
MYSQL_DB: codeception
MYSQL_PASSWORD: codeception
PG_HOST: host.docker.internal
PG_DB: codeception
PG_PASSWORD: codeception
MSSQL_HOST: host.docker.internal
MSSQL_DB: codeception
MSSQL_PASSWORD: 'P@ssw0rd'
XDEBUG_MODE: "debug"
XDEBUG_CONFIG: "client_host=host.docker.internal; client_port=9000; mode=debug; start_wih_request=1"
PHP_IDE_CONFIG: "serverName=codeception-module-db" # the name must be the same as in your PHP -> Server -> "name" field
volumes:
- ${HOME}/.composer:/tmp/.composer
- .:/var/www/html
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: codeception
MYSQL_DATABASE: codeception
ports:
- "3306:3306"
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: codeception
POSTGRES_DB: codeception
ports:
- "5432:5432"
mssql:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
SA_PASSWORD: 'P@ssw0rd'
MSSQL_DATABASE: codeception
ACCEPT_EULA: 'Y'
ports:
- "1433:1433"
volumes:
- ./tests/data/scripts:/scripts:ro
entrypoint: [ "/bin/bash", "-c", "/scripts/mssql.sh" ]
wait:
image: dokku/wait