-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
37 lines (35 loc) · 965 Bytes
/
docker-compose.yaml
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
version: "3.8"
services:
localhost_db:
image: mariadb:10.3
ports:
- 4400:3306
container_name: localhost_db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=nera
volumes:
- ./.dev/testing.cnf:/etc/mysql/conf.d/testing.cnf:ro
- ./.dev/db:/var/lib/mysql
localhost_phpadmin:
image: phpmyadmin
container_name: localhost_phpadmin
environment:
- PMA_ARBITRARY=1
- PMA_HOSTS=localhost_db
- PMA_PORTS=3306
- PMA_USER=root
- PMA_PASSWORD=nera
restart: unless-stopped
ports:
- 9001:80
volumes:
- ./.dev/data/sessions:/sessions
localhost_app:
build: ./
container_name: localhost_app
restart: unless-stopped
ports:
- 9000:80
volumes:
- ./src:/var/www/html:consistent