-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
docker-compose.yml
68 lines (67 loc) · 1.62 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
services:
php8.2:
image: ghcr.io/staudenmeir/php:8.2
working_dir: /var/www/html
networks:
- test
volumes:
- .:/var/www/html:delegated
- .docker/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
php8.3:
image: ghcr.io/staudenmeir/php:8.3
working_dir: /var/www/html
networks:
- test
volumes:
- .:/var/www/html:delegated
- .docker/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
php8.4:
image: ghcr.io/staudenmeir/php:8.4
working_dir: /var/www/html
networks:
- test
volumes:
- .:/var/www/html:delegated
#- .docker/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
mysql:
image: 'mysql:latest'
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
healthcheck:
test: mysqladmin ping --silent
interval: 5s
timeout: 3s
retries: 10
networks:
- test
mariadb:
image: 'mariadb:latest'
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
networks:
- test
pgsql:
image: 'postgres:latest'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: test
networks:
- test
sqlsrv:
image: 'mcr.microsoft.com/mssql/server:2022-latest'
environment:
ACCEPT_EULA: Y
SA_PASSWORD: Password!
healthcheck:
test: /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P "$${SA_PASSWORD}" -Q "SELECT 1" -b -o /dev/null
interval: 5s
timeout: 3s
retries: 10
networks:
- test
networks:
test:
driver: bridge