-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (56 loc) · 1.08 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
services:
mysql:
image: mysql:8.0
container_name: mysql
ports:
- "3306:3306"
volumes:
- mysql-data:/var/lib/mysql
environment:
MYSQL_DATABASE: test
MYSQL_USER: admin
MYSQL_PASSWORD: admin
MYSQL_ROOT_PASSWORD: rootpassword
networks:
- tools-network
redis:
image: redis:7
container_name: redis
ports:
- "6379:6379"
networks:
- tools-network
memcached:
image: memcached:latest
container_name: memcached
ports:
- "11211:11211"
networks:
- tools-network
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
depends_on:
- mysql
ports:
- "8080:80"
environment:
PMA_HOST: mysql
PMA_PORT: 3306
networks:
- tools-network
platform: linux/amd64
mailhog:
image: mailhog/mailhog
container_name: mailhog
ports:
- "8025:8025" # WEB
- "1025:1025" # SMTP
networks:
- tools-network
platform: linux/amd64
networks:
- tools-network
- shared-network
volumes:
mysql-data: