-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
58 lines (53 loc) · 1 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: gsviec
MYSQL_DATABASE: gsviec
MYSQL_USER: gsviec
MYSQL_PASSWORD: gsviec
ports:
- 3309:3306
php:
depends_on:
- db
- redis
build: .
ports:
- "80:8080"
volumes:
- ./:/var/www
- ./docker-nginx-site.conf:/etc/nginx/nginx.conf
- ./php.ini-production:/usr/local/etc/php/php.ini
environment:
DB_HOST: db:3306
DB_USER: root
DB_PASSWORD: gsviec
DB_NAME: gsviec
APPLICATION_ENV: local
REDIS_HOST: redis
PHP_UPLOAD_MAX_FILESIZE: 2000M
env_file:
- .env
phpmyadmin:
restart: 'no'
image: phpmyadmin/phpmyadmin
depends_on:
- db
ports:
- "9090:80"
environment:
PMA_ARBITRARY: 1
PMA_HOST: db
PMA_PORT: 3306
PMA_USER: root
PMA_PASSWORD: gsviec
redis:
image: redis:alpine
ports:
- '63790:6379'
volumes:
db_data: