chore: ci add mariadb 11.3, change mysql 8.2 to mysql 8.3 (#7273)
[openemr.git] / ci / nginx_83 / docker-compose.yml
blobb3c7e891a088f762e0afa903d138d1a7b360455f
1 # docker-compose.yml for travis ci testing
2 version: '3.1'
3 services:
4   mysql:
5     restart: always
6     image: mariadb:10.11
7     command: ['mysqld','--character-set-server=utf8mb4']
8     environment:
9       MYSQL_ROOT_PASSWORD: root
10   openemr:
11     restart: always
12     image: openemr/dev-php-fpm:8.3
13     environment:
14       OPENEMR_BASE_URL_API: "https://nginx"
15       OPENEMR_BASE_URL_E2E: "http://nginx"
16     volumes:
17     - ../../:/usr/share/nginx/html/openemr
18     - ./php.ini:/usr/local/etc/php/php.ini:ro
19     depends_on:
20     - mysql
21   nginx:
22     restart: always
23     image: openemr/dev-nginx
24     ports:
25     - 80:80
26     - 443:443
27     volumes:
28     - ../../:/usr/share/nginx/html/openemr
29     - ../nginx/nginx.conf:/etc/nginx/nginx.conf:ro
30     - ../nginx/dummy-cert:/etc/nginx/dummy-cert:ro
31     - ../nginx/dummy-key:/etc/nginx/dummy-key:ro
32     depends_on:
33     - openemr