-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
docker-compose-dev.yml
54 lines (49 loc) · 1.05 KB
/
docker-compose-dev.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
# This file starts MySQL and redis, to use as development
# Run with docker-compose -f docker-compose-dev.yml up
version: "3.7"
services:
cache:
image: redis
ports:
- 6379:6379
db:
image: mariadb
ports:
- 3306:3306
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_USER: csmm
MYSQL_PASSWORD: mysecretpasswordissosecure
MYSQL_DATABASE: csmm
MYSQL_RANDOM_ROOT_PASSWORD: "true"
# This one is used to run the tests
db-test:
image: mariadb
ports:
- 3307:3306
environment:
MYSQL_USER: csmm
MYSQL_PASSWORD: mysecretpasswordissosecure
MYSQL_DATABASE: csmm
MYSQL_RANDOM_ROOT_PASSWORD: "true"
csmm-phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: csmm-phpmyadmin
environment:
- PMA_ARBITRARY=1
ports:
- "15500:80"
volumes:
- /sessions
insight:
image: 'redislabs/redisinsight'
ports:
- 8001:8001
depends_on:
- cache
volumes:
- redisinsight:/db
volumes:
mysql:
redisinsight: