forked from vibecodingshow/qa-live-healthcare
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 1.06 KB
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
version: '3.8'
services:
healthcare_mysql:
image: mysql:8.0
container_name: healthcare_mysql
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: healthcare
MYSQL_USER: user
MYSQL_PASSWORD: password
command: >
--character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
--init-connect="SET NAMES utf8mb4"
--skip-character-set-client-handshake
volumes:
- healthcare_mysql_data:/var/lib/mysql
networks:
- healthcare_network
healthcare_phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: healthcare_phpmyadmin
restart: always
ports:
- "6080:80"
environment:
PMA_HOST: healthcare_mysql
PMA_USER: root
PMA_PASSWORD: root
MYSQL_CHARSET: utf8mb4
MYSQL_COLLATION: utf8mb4_unicode_ci
depends_on:
- healthcare_mysql
networks:
- healthcare_network
volumes:
healthcare_mysql_data:
driver: local
networks:
healthcare_network:
driver: bridge