File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,23 @@ RUN apt-get update && \
12
12
libpng-dev \
13
13
libfreetype6-dev \
14
14
libssl-dev \
15
- libmcrypt-dev \
16
15
openssh-server \
17
16
libmagickwand-dev \
18
17
git \
19
18
cron \
20
19
nano \
21
20
libxml2-dev
22
-
21
+ libzip-dev \
22
+ zip \
23
+ unzip
23
24
24
25
RUN docker-php-ext-install \
25
26
soap \
26
27
pcntl \
27
28
pdo_mysql \
28
29
pdo_pgsql \
29
- bcmath
30
+ bcmath \
31
+ zip
30
32
31
33
RUN pecl install imagick && \
32
34
docker-php-ext-enable imagick
Original file line number Diff line number Diff line change @@ -11,25 +11,26 @@ services:
11
11
- "8989:80"
12
12
links:
13
13
- php-fpm
14
- - redis
14
+
15
15
php-fpm:
16
16
container_name: ${PROJECT_NAME}_php-fpm
17
17
build: .provision/php-fpm
18
18
volumes:
19
19
- ./${PROJECT_FOLDER}:/var/www
20
20
links:
21
21
- mysql
22
+ - redis
22
23
23
24
mysql:
24
25
container_name: ${PROJECT_NAME}_mysql
25
26
image: mysql:8.0
26
27
volumes:
27
28
- db_mysql:/var/lib/mysql
28
29
environment:
29
- MYSQL_ROOT_PASSWORD: gerge54rgr4
30
+ MYSQL_ROOT_PASSWORD:
30
31
MYSQL_DATABASE: ${PROJECT_NAME}
31
32
MYSQL_USER: ${PROJECT_NAME}
32
- MYSQL_PASSWORD: 123456
33
+ MYSQL_PASSWORD:
33
34
ports:
34
35
- "13306:3306"
35
36
command: mysqld --sql_mode=""
You can’t perform that action at this time.
0 commit comments