-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
executable file
·57 lines (52 loc) · 1.09 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
version: '3'
volumes:
harpia-mysql-data:
driver: local
harpia-postgres-data:
driver: local
services:
mysql:
image: mysql:5.7
container_name: harpia-mysql
platform: 'linux/x86_64'
volumes:
- harpia-mysql-data:/var/lib/mysql
ports:
- "3307:3306"
environment:
- MYSQL_ROOT_PASSWORD=toor
- MYSQL_DATABASE=harpia
- MYSQL_USER=harpia
- MYSQL_PASSWORD=harpia
pgsql:
image: postgres:11-alpine
container_name: harpia-postgres
volumes:
- harpia-postgres-data:/var/lib/postgresql/data
ports:
- "5436:5432"
environment:
- POSTGRES_DB=harpia
- POSTGRES_USER=harpia
- POSTGRES_PASSWORD=harpia
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.6
container_name: harpia-phpmyadmin
ports:
- "8080:80"
environment:
- PMA_HOST=mysql
- PMA_PORT=3306
links:
- mysql
web:
image: ambientum/php:7.1-apache
container_name: harpia-web
volumes:
- .:/var/www/app
ports:
- "80:8080"
links:
- mysql
- pgsql
- phpmyadmin