Skip to content

Commit 09de13d

Browse files
authored
Merge pull request #6 from joglomedia/linux
New update - Add PHP Imap ext - Update custom PHP ini conf - Add easydock remove cmd - Update license file
2 parents bd650b4 + 6dabf63 commit 09de13d

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

33
Copyright (c) 2020 Andrea Pollastri
4+
Edi Septriyanto
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

config/php/php.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
max_execution_time=360
2-
upload_max_filesize=256M
3-
post_max_size=256M
1+
display_errors = On
2+
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
3+
date.timezone = UTC
4+
max_execution_time = 360
5+
memory_limit = 512M
6+
post_max_size = 256M
7+
upload_max_filesize = 256M

src/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ RUN apk update && apk upgrade \
4747
gd \
4848
gnupg \
4949
igbinary \
50+
imap \
5051
imagick \
5152
intl \
5253
ldap \

src/easydock

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function ed_setup() {
347347
}
348348

349349
function ed_reset() {
350-
echo -e "${bgyellow}${black}${bold} >>> WARNING! ${reset} This command will reset container and database.${br}"
350+
echo -e "${bgyellow}${black}${bold} >>> WARNING! ${reset} This command will delete containers and database.${br}"
351351
read -r -p "Are you sure to reset easydock application? (Y/n): " -n 1 -r
352352

353353
if [[ $REPLY =~ ^[Yy]$ ]]; then
@@ -362,6 +362,10 @@ function ed_reset() {
362362
fi
363363
}
364364

365+
function ed_remove() {
366+
ed_reset
367+
}
368+
365369
function ed_up() {
366370
echo -e "${blue}Wait...${reset}${br}"
367371
docker-compose -f ./.easydock/docker-compose.yml --env-file=./.env.easydock down
@@ -487,6 +491,11 @@ function ed_cli_menu() {
487491
ed_down
488492
exit
489493
;;
494+
remove)
495+
shift
496+
ed_remove
497+
exit
498+
;;
490499
start)
491500
shift
492501
ed_start
@@ -497,7 +506,7 @@ function ed_cli_menu() {
497506
ed_stop
498507
exit
499508
;;
500-
restart)
509+
restart)
501510
shift
502511
ed_restart
503512
exit
@@ -570,4 +579,4 @@ function ed_bootstrap() {
570579
fi
571580
}
572581

573-
ed_bootstrap "$@"
582+
ed_bootstrap "$@"

0 commit comments

Comments
 (0)