-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 826 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 826 Bytes
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
version: "3.3"
services:
postgresMyDB:
image: postgres:latest
environment:
- POSTGRES_DB=my_store
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin123
ports:
- 5432:5432
volumes:
- ./postgres_data:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=admin@admin.com
- PGADMIN_DEFAULT_PASSWORD=admin123
ports:
- 5050:80
mysql:
image: mysql:5
environment:
- MYSQL_DB=my_store
- MYSQL_USER=root
- MYSQL_ROOT_PASSWORD=admin123
- MYSQL_PORT=3306
ports:
- 3306:3306
volumes:
- ./mysql_data:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
- MYSQL_ROOT_PASSWORD=admin123
- PMA_HOST=mysql
ports:
- 8080:80