Compare commits

...

329 Commits

Author SHA1 Message Date
Shao Yu-Lung (Allen)
13ed9edaaa chore: adminer remove unnecessary service depends 2023-10-18 08:20:20 +08:00
Shao Yu-Lung (Allen)
9073aa23f6 Merge pull request #3464 from laradock/fix-3447
fix: mysql service down after startup
2023-10-18 08:13:20 +08:00
Shao Yu-Lung (Allen)
923cded79a fix: mysql service down after startup 2023-10-18 08:11:05 +08:00
Shao Yu-Lung (Allen)
955d66df2c Update README.md (#3463)
remove travis-ci build status
2023-10-15 00:56:55 +08:00
Shao Yu-Lung (Allen)
5009eb0b1e chore: remove travis-ci stuff (#3462) 2023-10-14 23:58:39 +08:00
Shao Yu-Lung (Allen)
d282d6a542 Merge pull request #3461 from laradock/fix-sqlsrv
fix: php sqlsrv ext.
2023-10-13 13:21:52 +08:00
Shao Yu-Lung (Allen)
60c1b33564 fix: php-fpm sqlsrv gpg 2023-10-13 09:47:08 +08:00
Shao Yu-Lung (Allen)
6e6bdd5761 fix: php-fpm sqlsrv gpg 2023-10-13 09:31:25 +08:00
Shao Yu-Lung (Allen)
55b10af603 fix: php-fpm 8.1 8.2 sqlsrv gpg 2023-10-13 09:15:00 +08:00
Shao Yu-Lung (Allen)
9768ddba3a fix: php-worker sqlsrv ext 8.x 2023-10-13 00:01:07 +08:00
Shao Yu-Lung (Allen)
8c33d545fa fix: php-worker sqlsrv ext check 2023-10-12 22:55:04 +08:00
Shao Yu-Lung (Allen)
88edc465f1 fix: php-worker sqlsrv ext 2023-10-12 22:48:51 +08:00
Shao Yu-Lung (Allen)
ef398b2689 fix: workspace sqlsrv ext 7.4 2023-10-12 22:00:29 +08:00
Shao Yu-Lung (Allen)
9ffcab41bf fix: php-fpm sqlsrv ext 7.3 7.4 2023-10-12 21:59:54 +08:00
Shao Yu-Lung (Allen)
8e1d27bb15 WIP: Update main-ci.yml
#3449
2023-10-12 21:09:36 +08:00
Shao Yu-Lung (Allen)
2ffd082d10 Merge pull request #3457 from erikn69/patch-7
Use GitHub Actions V4
2023-10-11 14:49:36 +08:00
erikn69
d6814301d8 Use GitHub Actions V4 2023-10-10 10:15:34 -05:00
Shao Yu-Lung (Allen)
660afa968d Merge pull request #3453 from bestlong/build-job-remove-php70
chore: build job remove php7.0
2023-10-04 19:09:15 +08:00
Shao Yu-Lung (Allen)
a935f8a798 Merge pull request #3451 from erikn69/patch-7
Support configuration json on Soketi
2023-10-04 09:21:01 +08:00
Shao Yu-Lung (Allen)
83080b4a58 Merge pull request #3452 from erikn69/patch-9
php-fpm: fix php 7 redis
2023-10-04 09:18:32 +08:00
Shao Yu-Lung (Allen)
d1fb549d80 chore: build job remove php7.0 #3450 2023-10-04 09:10:08 +08:00
erikn69
6974a95c8c php-fpm: fix php 7 redis 2023-10-03 09:19:49 -05:00
erikn69
7524959109 Support configuration json on Soketi 2023-10-02 16:56:18 -05:00
Dawid Makowski
205cb4e5c9 Merge pull request #3295 from klgd/patch-1
Fix change China mirror
2023-09-18 16:41:19 +02:00
Dawid Makowski
80be8025f4 Merge pull request #3274 from iml885203/master
fix Adding cron jobs description is incorrect
2023-09-18 16:16:00 +02:00
Dawid Makowski
d9a8e1e014 Merge pull request #2583 from cantecim/disable_mysql_aio
disable mysql asynchronous io to prevent data loss issues with windows
2023-09-18 16:07:30 +02:00
Dawid Makowski
b722e9001b Merge pull request #3403 from Carlos-vargs/update-soketi-image
fix: change the current image with the image that soketi recommends
2023-09-18 15:56:20 +02:00
Dawid Makowski
dca99cea25 Merge pull request #1945 from ronydebnath/Gzip_updates
specifying which files to Gzip compress and increase grade in Google page speed
2023-09-18 15:43:04 +02:00
Dawid Makowski
d8cb195aa6 Merge pull request #2251 from bharatgupta99/master
fixed reference link to list of container
2023-09-18 15:40:32 +02:00
Dawid Makowski
a8b1d2d27d Merge branch 'master' into disable_mysql_aio 2023-09-18 15:38:39 +02:00
Dawid Makowski
8d339b0f04 Merge pull request #2667 from jean-bonilha/patch-1
Makes easy login into mysql server
2023-09-11 14:02:43 +02:00
Dawid Makowski
41f98878ee Merge pull request #3319 from afshintavakolian/master
fix nginx proxy to localhost
2023-09-11 14:01:17 +02:00
Dawid Makowski
ab0f1cebfe Merge pull request #3407 from dhtmdgkr123/master
fix(mariadb): fix mariadb is not booting issue
2023-09-11 13:58:07 +02:00
Dawid Makowski
86e54f2c10 Merge pull request #3422 from wrpota/master
fix: fixed meilisearch not loading the master key
2023-09-11 13:56:23 +02:00
Shao Yu-Lung (Allen)
cb44267349 Merge pull request #3445 from bestlong/fix-70-php-worker-gnupg
fix: php-worker gnupg
2023-09-04 14:59:34 +08:00
Shao Yu-Lung (Allen)
6c7f1a8119 fix: php-worker gnupg 2023-09-04 14:52:25 +08:00
Shao Yu-Lung (Allen)
9e6ef994b5 Merge pull request #3430 from zuohuadong/zuohuadong-patch-2
chore (caddy)  add zstd
2023-09-04 10:10:02 +08:00
Shao Yu-Lung (Allen)
52b5e2bfcd Merge pull request #3444 from bestlong/fix-php-fpm-decimal
fix: php-fpm decimal ext.
2023-09-04 10:09:06 +08:00
Shao Yu-Lung (Allen)
24acce2b24 fix: php-fpm decimal ext. 2023-09-04 08:58:26 +08:00
Shao Yu-Lung (Allen)
e46b82575f Merge pull request #3442 from bestlong/fix-php-fpm-wkhtmltopdf-libssl
fix: php-fpm wkhtmltopdf ext need libssl3
2023-09-02 08:03:21 +08:00
Shao Yu-Lung (Allen)
e909d0c795 fix: php-fpm wkhtmltopdf 2023-09-02 00:54:36 +08:00
Shao Yu-Lung (Allen)
95799f2aa7 Merge pull request #3443 from bestlong/fix-php-worker-amqp
fix: php-worker amqp ext.
2023-09-01 18:10:33 +08:00
Shao Yu-Lung (Allen)
309949fd4c fix: php-worker amqp ext. 2023-09-01 18:09:00 +08:00
Shao Yu-Lung (Allen)
d30d6f61ea fix: php-fpm wkhtmltopdf ext need libssl3 2023-09-01 17:11:37 +08:00
Shao Yu-Lung (Allen)
1b38766f52 Merge pull request #3441 from bestlong/fix-workspace-amqp
fix: workdpace amqp ext.
2023-09-01 17:09:18 +08:00
Shao Yu-Lung (Allen)
314febcc19 Merge branch 'laradock:master' into fix-workspace-amqp 2023-09-01 16:45:07 +08:00
Shao Yu-Lung (Allen)
4080cea046 fix: workdpace amqp ext. 2023-09-01 16:40:08 +08:00
Shao Yu-Lung (Allen)
1bfc57c9e4 Merge pull request #3440 from bestlong/fix-wkhtmltopdf
fix: php-fpm wkhtmltopdf
2023-09-01 15:34:09 +08:00
Shao Yu-Lung (Allen)
8471b391ae fix: php-fpm wkhtmltopdf 2023-09-01 15:01:36 +08:00
Shao Yu-Lung (Allen)
3441732273 Merge pull request #3439 from bestlong/fix-amqp
fix: php-fpm amqp build job
2023-09-01 14:50:59 +08:00
Shao Yu-Lung (Allen)
c5d0e60181 fix: php-fpm amqp build job 2023-09-01 14:28:22 +08:00
Shao Yu-Lung (Allen)
dbd43dac62 Merge pull request #3438 from laradock/fix-workspace-wkhtmltopdf
fix: workspace wkhtmltopdf build job
2023-09-01 12:40:58 +08:00
Shao Yu-Lung (Allen)
be44e572ff fix: workspace wkhtmltopdf build job 2023-09-01 03:13:36 +00:00
Shao Yu-Lung (Allen)
278d19afde Merge pull request #3437 from laradock/fix-wkhtmltox
fix: wkhtmltopdf
2023-09-01 10:14:05 +08:00
Shao Yu-Lung (Allen)
7b2d272f5a fix: wkhtmlbox 2023-09-01 01:48:10 +00:00
Shao Yu-Lung (Allen)
e77f36891b Merge pull request #3436 from laradock/bestlong-patch-1
CI build job php 5.6 removed
2023-09-01 09:16:33 +08:00
Shao Yu-Lung (Allen)
a0f81d578b CI build job php 5.6 removed
#3409
2023-08-30 11:37:34 +08:00
Dawid Makowski
f005cec1b2 Merge pull request #3301 from dairidong/fix-php-fpm-imagemagick-install
fix sometimes cannot find dependencies
2023-08-16 13:02:52 +02:00
Dawid Makowski
81a803d18a Merge pull request #3420 from kideny/master
Update phalcon.ini
2023-08-16 11:16:40 +02:00
Dawid Makowski
35f2b3ae77 Merge pull request #3427 from hamaadraza/master
Fix ffmpeg Install
2023-08-16 11:15:31 +02:00
Dawid Makowski
d9f26ac7e3 Merge pull request #3429 from AliEbrahimpour/master
add postgres backup
2023-08-16 10:56:36 +02:00
AliEbrahimpour
89d47c29e4 Update docker-compose.yml 2023-08-15 09:53:51 +03:30
huadong zuo
42dc34da02 chore (caddy) add zstd 2023-08-12 09:39:57 +08:00
AliEbrahimpour
cb753b086f Merge pull request #2 from AliEbrahimpour/AliEbrahimpour-patch-1
Update docker-compose.yml
2023-08-06 11:17:13 +03:30
AliEbrahimpour
be590bb349 Update docker-compose.yml 2023-08-06 11:16:18 +03:30
Syed Hamaad Raza
0a624190a6 Fix ffmpeg Install 2023-08-04 15:06:54 +05:00
Dawid Makowski
18776e6baa Merge pull request #3425 from laradock/poppler-add-antiword
Poppler-utils: add antiword
2023-08-01 10:43:47 +02:00
Dawid Makowski
cdcd103739 Adding antiword within poppler-utils package 2023-07-31 23:14:17 +02:00
Dawid Makowski
e021d7a452 Merge pull request #8 from laradock/master
fork sync
2023-07-31 22:20:18 +02:00
wrpota
bd9287ed66 fix: fixed meilisearch not loading the master key 2023-07-28 06:52:08 +00:00
Shao Yu-Lung (Allen)
b94d5af0e2 Merge pull request #3402 from abordage/add-jdk
Add Java Development Kit
2023-07-24 23:22:04 +08:00
Shao Yu-Lung (Allen)
3b7932eed4 Merge branch 'master' into add-jdk 2023-07-24 23:21:53 +08:00
Shao Yu-Lung (Allen)
785d0c968d Merge pull request #3416 from chep6915/master
fix remove file not found error
2023-07-24 23:20:28 +08:00
Shao Yu-Lung (Allen)
0466fbdd27 Merge pull request #3419 from laradock/dependabot/npm_and_yarn/react/word-wrap-1.2.4
build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /react
2023-07-24 23:19:33 +08:00
Shao Yu-Lung (Allen)
237dd143da Merge pull request #3412 from laradock/dependabot/npm_and_yarn/react/tough-cookie-and-node-sass-4.1.3
build(deps): bump tough-cookie and node-sass in /react
2023-07-24 23:19:12 +08:00
Frank Yuan
3674659bb3 Update phalcon.ini
Phalcon 5.x don't need psr.so.

Fix the php warning

PHP Warning:  PHP Startup: Unable to load dynamic library 'psr.so' (tried: /usr/lib/php/20210902/psr.so (/usr/lib/php/20210902/psr.so: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/psr.so.so (/usr/lib/php/20210902/psr.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2023-07-23 15:57:12 +08:00
Dawid Makowski
5f21cd7733 Merge pull request #3414 from laradock/dependabot/npm_and_yarn/react/semver-5.7.2
build(deps): bump semver from 5.7.1 to 5.7.2 in /react
2023-07-20 18:13:29 +02:00
Dawid Makowski
b9e1cad1b2 Merge pull request #3418 from makowskid/poppler-utils
Adding poppler-utils
2023-07-20 18:07:10 +02:00
dependabot[bot]
0ec4f6f544 build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /react
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 07:32:41 +00:00
Dawid Makowski
0b5103cd2f Merge pull request #7 from makowskid/poppler-utils
Adding support for poppler-utils
2023-07-18 19:36:01 +02:00
Dawid Makowski
ef5bc07fb3 Adding support for poppler-utils 2023-07-18 19:18:24 +02:00
Dawid Makowski
b20c3884d2 Merge pull request #6 from laradock/master
fork sync
2023-07-18 17:37:29 +02:00
Shao Yu-Lung (Allen)
82a135ab58 Merge pull request #3408 from makowskid/npm-check-updates
npm-check-updates CLI functionality added
2023-07-16 16:11:52 +08:00
Rex
76534d0016 skip remove file not found error
skip remove file not found error
2023-07-14 21:13:49 -04:00
Shao Yu-Lung (Allen)
1c2f07ca06 Merge pull request #3415 from abordage/update-minio-docs
Update Minio docs
2023-07-13 23:06:04 +08:00
Pavel Bychko
7f7e921c4e Update Minio docs 2023-07-12 19:58:30 +03:00
Pavel Bychko
f0f73ca34f Update Minio docs 2023-07-12 19:41:28 +03:00
Zalt
d6c9cc27dd add missing png icon 2023-07-11 17:04:21 +02:00
Zalt
457a25fb40 refresh sponsors list 2023-07-11 16:58:17 +02:00
dependabot[bot]
9123ff9beb build(deps): bump semver from 5.7.1 to 5.7.2 in /react
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 11:47:32 +00:00
dependabot[bot]
e9522b230c build(deps): bump tough-cookie and node-sass in /react
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) to 4.1.3 and updates ancestor dependency [node-sass](https://github.com/sass/node-sass). These dependencies need to be updated together.


Updates `tough-cookie` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

Updates `node-sass` from 7.0.3 to 9.0.0
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v7.0.3...v9.0.0)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
- dependency-name: node-sass
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 21:03:17 +00:00
Dawid Makowski
920cf66240 Adding support for npm-check-updates within Workspace container. 2023-06-29 17:43:50 +05:00
Dawid Makowski
e680ad7361 Adding support for npm-check-updates within Workspace container. 2023-06-29 17:13:44 +05:00
Dawid Makowski
66b86963ae Merge pull request #5 from laradock/master
fork sync
2023-06-29 11:23:22 +00:00
dhtmdgkr123
fc23c52d12 fix(mariadb): fix mariadb is not booting issue
1. fix mariadb is not booting issue
2023-06-28 23:08:09 +09:00
Carlos-vargs
d132fb389f fix: change the current image with the image that soketi recommends 2023-06-21 11:29:55 -06:00
Shao Yu-Lung (Allen)
7b1eee549f Merge pull request #3397 from reishou/master
feat: add mailpit
2023-06-21 08:54:20 +08:00
Shao Yu-Lung (Allen)
30265fd5e8 Merge pull request #3400 from andrekutianski/fix-oci8-php81
fix: oci8 fails install on PHP 8.1
2023-06-21 08:54:03 +08:00
Dawid Makowski
cbbf7fbf53 Merge pull request #4 from laradock/master
fork sync
2023-06-19 08:32:28 +00:00
Pavel Bychko
dd7be70596 Add Java Development Kit 2023-06-17 14:21:34 +03:00
Andre Kutianski
2cc022b112 fix: oci8 fails install on PHP 8.1
Oracle OCI8 fails to install on PHP 8.1 due the new release available, created conditional to check compatibility.
2023-06-10 19:01:44 -03:00
reishou
f661694a81 feat: add mailpit 2023-06-04 22:12:34 +07:00
Shao Yu-Lung (Allen)
08e1f4825f Merge pull request #3391 from laradock/revert-3271-fix-compose-mariadb
Revert "fix docker-compose.yml mariadb volumes"
2023-05-26 23:44:08 +08:00
Shao Yu-Lung (Allen)
403faf1920 Revert "fix docker-compose.yml mariadb volumes" 2023-05-21 09:43:07 +08:00
Shao Yu-Lung (Allen)
f7fa9258b5 Merge pull request #3384 from woenel/ioncube-patch
update: ioncube support for php 8.1
2023-05-09 10:42:40 +08:00
Ronnel R. Martinez
fecb7f032e update: remove php 8.0 2023-05-09 09:17:37 +08:00
Ronnel R. Martinez
95c0da664d update: fix condition 2023-05-07 02:38:54 +08:00
Ronnel R. Martinez
51d719adf1 Merge pull request #1 from woenel/master
update: ioncube support for 8.0 and 8.1
2023-05-07 01:56:19 +08:00
Ronnel R. Martinez
c460509832 update: operator 2023-05-07 01:54:15 +08:00
Ronnel R. Martinez
4f1027bc59 update: change operator 2023-05-07 01:52:01 +08:00
Ronnel R. Martinez
1527c399fd update: ioncube support for 8.0 and 8.1 2023-05-07 01:28:15 +08:00
Shao Yu-Lung (Allen)
baa65a6e9e Merge pull request #3373 from phantomboyA/feat-add-ipafont
add ipafont on Dusk Dependencies section
2023-04-30 23:44:38 +08:00
Shao Yu-Lung (Allen)
94af63fbc5 Merge pull request #3378 from abordage/update-xdebug
Update xdebug version
2023-04-30 23:43:24 +08:00
Shao Yu-Lung (Allen)
70bfdf0b05 Merge pull request #3376 from bobbyshaw/fix/laravel-horizon-postgres-build
fix: laravel-horizon SSL
2023-04-30 23:34:44 +08:00
Shao Yu-Lung (Allen)
1473bbfbd9 Merge pull request #3380 from DrDynamic/keycloak
add Keycloak
2023-04-28 23:32:09 +08:00
Shao Yu-Lung (Allen)
a7600e844e Merge pull request #3379 from DrDynamic/ca-certificates
add ca-certificates
2023-04-28 23:31:45 +08:00
Max Weber
905412497e added init script for postgres 2023-04-27 12:56:17 +02:00
Max Weber
ae8ec392b7 added documentation 2023-04-26 22:04:43 +02:00
Max Weber
25309a8e9c added keycloak 2023-04-26 21:50:44 +02:00
DrDynamic
e36150e111 ceaned up .env.example 2023-04-24 16:40:07 +02:00
DrDynamic
680a560628 removed sentry from docker-compose 2023-04-24 16:35:14 +02:00
Max Weber
f831a05d05 updated dokumentation 2023-04-24 13:24:08 +02:00
Max Weber
3600dc8206 added installation of custom ca-certificates 2023-04-24 13:15:16 +02:00
Dawid Makowski
5265515803 Merge pull request #3 from laradock/master
fork sync
2023-04-23 16:26:37 +07:00
Pavel Bychko
520c9303b1 Update xdebug version 2023-04-21 12:55:10 +03:00
Tom Robertshaw
c776c33645 fix: laravel-horizon SSL 2023-04-14 21:02:30 +01:00
phantomboyA
2e5da396a0 add ipafont on Dusk Dependencies section 2023-04-14 05:44:08 +09:00
Shao Yu-Lung (Allen)
d6a523e8bc Merge pull request #3369 from bestlong/docker-compose-cli
fix: docker compose cli command
2023-03-30 17:22:59 +08:00
Shao Yu-Lung (Allen)
5de541ec4c fix: docker compose cli command 2023-03-30 15:42:57 +08:00
Shao Yu-Lung (Allen)
482849558e Merge pull request #3368 from bestlong/workspace-php56-apcu
fix: php 5.6 APCu
2023-03-30 15:34:07 +08:00
Shao Yu-Lung (Allen)
f016880fa2 fix: php 5.6 APCU 2023-03-30 13:33:58 +08:00
Shao Yu-Lung (Allen)
51f2b991f2 Merge pull request #3271 from Accelfish/fix-compose-mariadb
fix docker-compose.yml mariadb volumes
2023-03-30 09:19:10 +08:00
Shao Yu-Lung (Allen)
bf8b9fd89b Merge pull request #3367 from laradock/dependabot/npm_and_yarn/react/ansi-regex-4.1.1
Bump ansi-regex from 4.1.0 to 4.1.1 in /react
2023-03-30 09:15:33 +08:00
Shao Yu-Lung (Allen)
badb1e89cd Merge pull request #3346 from goodjack/patch-5
Upgrade the Compose file format version to Compose Specification
2023-03-30 09:15:15 +08:00
dependabot[bot]
a75d1b8c02 Bump ansi-regex from 4.1.0 to 4.1.1 in /react
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 00:08:02 +00:00
Shao Yu-Lung (Allen)
94efcf7a54 Merge pull request #3304 from alphasnow/master
fix: correct cachetool url #3303
2023-03-30 08:07:22 +08:00
Shao Yu-Lung (Allen)
f1d7a72daa Merge pull request #3366 from laradock/dependabot/npm_and_yarn/react/webpack-5.76.3
Bump webpack from 5.75.0 to 5.76.3 in /react
2023-03-30 08:06:25 +08:00
Shao Yu-Lung (Allen)
bb215f1e5e Merge pull request #3360 from abordage/add_postgres_client_version_option
Add POSTGRES_CLIENT_VERSION option
2023-03-30 08:05:44 +08:00
Shao Yu-Lung (Allen)
e69c4f0e38 Merge pull request #3340 from oozone/fix-laravel-horizon-tokenizer-php-version
Fix Laravel Horizon container not building due to tokenizer in Dockerfile for PHP 8.2
2023-03-30 07:56:51 +08:00
Shao Yu-Lung (Allen)
368ef0d8d9 Merge pull request #3354 from makowskid/master
Solving the issue of paginating ElasticSearch results in query tools
2023-03-30 07:55:46 +08:00
Shao Yu-Lung (Allen)
807c5d2e5a Merge pull request #3353 from amber-lab/logstash_jdbc
Fix logstash build error
2023-03-30 07:55:19 +08:00
Shao Yu-Lung (Allen)
03159cf2b9 Merge pull request #3365 from samejack/master
Fix php7.x install gearman issue
2023-03-30 07:54:49 +08:00
Shao Yu-Lung (Allen)
9159c70d10 Merge pull request #3339 from leonschiphol/add_apcu_to_workspace
Add APCU installation option for the workspace and php-worker containers
2023-03-30 07:54:23 +08:00
dependabot[bot]
492acf45f6 Bump webpack from 5.75.0 to 5.76.3 in /react
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.3)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 07:03:56 +00:00
Shao Yu-Lung (Allen)
1223d04fc9 Merge pull request #3314 from laradock/dependabot/npm_and_yarn/react/json-schema-and-jsprim-0.4.0
Bump json-schema and jsprim in /react
2023-03-29 15:01:52 +08:00
Shao Yu-Lung (Allen)
a0f0aa986c Merge branch 'master' into dependabot/npm_and_yarn/react/json-schema-and-jsprim-0.4.0 2023-03-29 15:01:44 +08:00
Shao Yu-Lung (Allen)
f5476b508f Merge pull request #3313 from laradock/dependabot/npm_and_yarn/react/scss-tokenizer-and-node-sass-0.4.3
Bump scss-tokenizer and node-sass in /react
2023-03-29 15:00:48 +08:00
Shao Yu-Lung (Allen)
dce004b54a Merge pull request #3312 from laradock/dependabot/npm_and_yarn/react/minimatch-3.0.8
Bump minimatch from 3.0.4 to 3.0.8 in /react
2023-03-29 15:00:00 +08:00
Shao Yu-Lung (Allen)
6043fbcf12 Merge pull request #3321 from laradock/dependabot/npm_and_yarn/react/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2 in /react
2023-03-29 14:59:46 +08:00
Shao Yu-Lung (Allen)
afe161258b Merge pull request #3342 from laradock/dependabot/npm_and_yarn/react/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2 in /react
2023-03-29 14:59:31 +08:00
dependabot[bot]
eec6d5cd0a Bump scss-tokenizer and node-sass in /react
Bumps [scss-tokenizer](https://github.com/sasstools/scss-tokenizer) to 0.4.3 and updates ancestor dependency [node-sass](https://github.com/sass/node-sass). These dependencies need to be updated together.


Updates `scss-tokenizer` from 0.2.3 to 0.4.3
- [Release notes](https://github.com/sasstools/scss-tokenizer/releases)
- [Commits](https://github.com/sasstools/scss-tokenizer/compare/v0.2.3...v0.4.3)

Updates `node-sass` from 7.0.0 to 7.0.3
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v7.0.0...v7.0.3)

---
updated-dependencies:
- dependency-name: scss-tokenizer
  dependency-type: indirect
- dependency-name: node-sass
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 06:49:11 +00:00
Shao Yu-Lung (Allen)
e3fadc24d6 Merge pull request #3311 from laradock/dependabot/npm_and_yarn/react/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /react
2023-03-29 14:46:24 +08:00
Shao Yu-Lung (Allen)
528d59ea33 Merge pull request #3310 from laradock/dependabot/npm_and_yarn/react/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7 in /react
2023-03-29 14:46:02 +08:00
Shao Yu-Lung (Allen)
5624678a27 Merge pull request #3309 from laradock/dependabot/npm_and_yarn/react/y18n-4.0.3
Bump y18n from 4.0.0 to 4.0.3 in /react
2023-03-29 14:45:48 +08:00
Shao Yu-Lung (Allen)
af50b6bba8 Merge pull request #3325 from laradock/dependabot/npm_and_yarn/react/qs-6.5.3
Bump qs from 6.5.2 to 6.5.3 in /react
2023-03-29 14:45:31 +08:00
Shao Yu-Lung (Allen)
f4c0bfec64 Merge pull request #3349 from phantomboyA/fix-nvm-error
improvement on nvm installation in workspace container
2023-03-29 14:45:06 +08:00
SJ Chou
185fa761ce Fix php7.x install gearman issue 2023-03-17 11:29:06 +08:00
Pavel Bychko
db0d6f9b75 Add POSTGRES_CLIENT_VERSION option 2023-03-04 15:53:37 +03:00
Dawid Makowski
70c3b4fcf4 Merge remote-tracking branch 'makowskid/master' 2023-02-14 15:17:14 +07:00
Dawid Makowski
789dbb9506 allowing to read elasticsearch indexes in query tools 2023-02-14 16:09:05 +08:00
Leonardo
3d65dd1106 Fix logstash build error 2023-02-12 20:33:52 +00:00
phantomboyA
c5ddf331ed improvement on nvm installation in workspace container 2023-02-07 04:07:02 +09:00
小克
276889bf60 docs: Upgrade the Docker Engine version to 19.03.0 2023-01-23 19:23:46 +08:00
小克
da0c68836d feat: Upgrade the Compose file format version to Compose specification 2023-01-23 18:54:32 +08:00
Dawid Makowski
ef7feb79ff Merge pull request #2 from laradock/master
fork sync
2023-01-08 17:15:30 +07:00
dependabot[bot]
2b74305dc0 Bump json5 from 1.0.1 to 1.0.2 in /react
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 08:12:48 +00:00
leonschiphol
1959f1f931 Added APCU installation option for the php-worker container 2023-01-04 16:45:17 +01:00
Matthias Vanooteghem
b292e0808a fix issue tokenizer ext not building in Laravel Horizon Dockerfile for PHP 8.2 2023-01-04 16:41:22 +01:00
leonschiphol
cd1d7014e4 Added APCU installation option for the workspace container 2023-01-04 16:27:35 +01:00
Shao Yu-Lung (Allen)
6c8cb6dd85 Merge pull request #3333 from erikn69/patch-5
Trying to fix some tests
2022-12-22 17:31:53 +08:00
erikn69
e8432157b4 Fix protoc install 2022-12-21 14:50:19 -05:00
erikn69
ea1a91e9e1 Fix event module 2022-12-21 11:16:14 -05:00
Shao Yu-Lung (Allen)
2bb27c5b05 Merge pull request #3334 from Silassiai/install-intl
added intl install for php-worker
2022-12-21 21:03:16 +08:00
Silas de Rooy
05518b1a94 added intl install for php-worker 2022-12-20 12:22:06 +01:00
erikn69
1198badfe4 Fix tests 2022-12-19 15:13:25 -05:00
Shao Yu-Lung (Allen)
7d1fb0cd86 Merge pull request #3332 from bestlong/fix/elasticsearch
fix: ElasticSearch can't start issue
2022-12-17 00:32:04 +08:00
Shao Yu-Lung (Allen)
b683e0258e fix: ElasticSearch can't start issue 2022-12-17 00:29:15 +08:00
Shao Yu-Lung (Allen)
f44f2f4261 Merge pull request #3331 from bestlong/workspace-node
fix: workspace nvm install node
2022-12-16 22:54:16 +08:00
Shao Yu-Lung (Allen)
566eaa64ba nvm will handle npm global bin path 2022-12-16 21:40:24 +08:00
Shao Yu-Lung (Allen)
75aa16c277 update nvm version 2022-12-16 21:36:33 +08:00
Shao Yu-Lung (Allen)
302ef140f6 Merge pull request #3330 from bestlong/php-worker-ldap-5.6-7.0-ssl
fix: php-worker ldap 5.6 7.0 ssl
2022-12-16 00:09:32 +08:00
Shao Yu-Lung (Allen)
5c9b8b708e fix: php-worker ldap 5.6 7.0 ssl 2022-12-15 23:41:32 +08:00
Shao Yu-Lung (Allen)
dd731bf73b Merge pull request #3329 from bestlong/php-worker-ssl
fix: php-worker ssl
2022-12-15 23:12:39 +08:00
Shao Yu-Lung (Allen)
28b9ea773d fix: php-worker ssl 2022-12-15 22:59:12 +08:00
Shao Yu-Lung (Allen)
ff462ce4c2 Merge pull request #3324 from kilvn/support-php8.2
support php8.2
2022-12-15 22:54:13 +08:00
Shao Yu-Lung (Allen)
74279feed7 PHP 8.2 tokenizer ext default available 2022-12-15 20:13:33 +08:00
东子
03345453af disable explicitly and suppress this exception 2022-12-14 09:08:58 +00:00
东子
253783fb21 fix syntax 2022-12-14 08:47:27 +00:00
东子
6881e4bcb4 syntax fix 2022-12-14 02:02:40 +00:00
东子
480fe10084 fix: php-worker build event error.
readme: https://learnku.com/php/t/30877
2022-12-13 10:00:13 +08:00
东子
be5eb5af17 workflows add php8.2 2022-12-13 00:06:02 +08:00
dependabot[bot]
befc464819 Bump qs from 6.5.2 to 6.5.3 in /react
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 15:37:33 +00:00
逆天西瓜
fa4e60bd34 support php8.2 2022-12-12 16:39:21 +08:00
Shao Yu-Lung (Allen)
1df09d5fd2 Merge pull request #3297 from ljgade/master
fix php7 swoole build failed
2022-12-11 01:25:47 +08:00
Shao Yu-Lung (Allen)
24aedbc852 Merge pull request #3285 from glrvrl/glrvrl
added: PHP_DOWNGRADE_OPENSSL_TLS_VERSION
2022-12-11 01:24:52 +08:00
Shao Yu-Lung (Allen)
2652a6edf4 Merge pull request #3320 from afshintavakolian/jenkins
update version jenkins
2022-12-11 01:22:45 +08:00
dependabot[bot]
527512f6bc Bump decode-uri-component from 0.2.0 to 0.2.2 in /react
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 05:59:15 +00:00
Afshin Tavakolian
053fa059ac update version jenkins 2022-12-08 04:36:45 +03:30
Shao Yu-Lung (Allen)
96e0f2e92f Merge pull request #3316 from zhushaolong/zhushaolong-patch-1
Update workspace Dockerfile for symfony
2022-12-07 15:23:14 +08:00
Afshin Tavakolian
b9c63bcc17 fix nginx proxy to localhost 2022-12-07 02:05:10 +03:30
zhushaolong
51ad2e13ca Update Dockerfile for symphony
The symfony execution file could not be found when building the workspace.
```shell
#0 17.14 Symfony CLI installer
#0 17.14 
#0 17.14 Environment check
#0 17.14   [*] cURL is installed
#0 17.14   [*] Tar is installed
#0 17.14   [*] Git is installed
#0 17.15   [*] Your architecture (amd64) is supported
#0 17.15 
#0 17.15 Download
#0 17.19   Downloading https://github.com/symfony-cli/symfony-cli/releases/latest/download/symfony-cli_linux_amd64.tar.gz..
#0 17.30   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#0 17.30                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 5228k  100 5228k    0     0  1598k      0  0:00:03  0:00:03 --:--:-- 2849k
#0 20.59   Uncompress binary...
#0 20.98   Installing the binary into your home directory...
#0 21.01   The binary was saved to: /root/.symfony5/bin/symfony
#0 21.01 
#0 21.01 The Symfony CLI was installed successfully!
#0 21.01 
#0 21.01 Use it as a local file:
#0 21.01   /root/.symfony5/bin/symfony
#0 21.01 
#0 21.01 Or add the following line to your shell configuration file:
#0 21.01   export PATH="$HOME/.symfony5/bin:$PATH"
#0 21.01 
#0 21.01 Or install it globally on your system:
#0 21.01   mv /root/.symfony5/bin/symfony /usr/local/bin/symfony
#0 21.01 
#0 21.01 Then start a new shell and run 'symfony'
#0 21.04 mv: cannot stat '/root/.symfony/bin/symfony': No such file or directory
------
failed to solve: executor failed running [/bin/sh -c if [ ${INSTALL_SYMFONY} = true ]; then   mkdir -p /usr/local/bin   &&  1
```
2022-12-05 01:37:29 +08:00
dependabot[bot]
395703eb98 Bump json-schema and jsprim in /react
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.

Updates `json-schema` from 0.2.3 to 0.4.0
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0)

Updates `jsprim` from 1.4.1 to 1.4.2
- [Release notes](https://github.com/joyent/node-jsprim/releases)
- [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
- [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
- dependency-name: jsprim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 03:45:11 +00:00
dependabot[bot]
058cbc5bbe Bump minimatch from 3.0.4 to 3.0.8 in /react
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 03:43:27 +00:00
dependabot[bot]
ab7768371c Bump hosted-git-info from 2.8.8 to 2.8.9 in /react
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 03:42:43 +00:00
dependabot[bot]
28f9722bf3 Bump path-parse from 1.0.6 to 1.0.7 in /react
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 03:42:43 +00:00
dependabot[bot]
0ce5e62df3 Bump y18n from 4.0.0 to 4.0.3 in /react
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 03:42:42 +00:00
Shao Yu-Lung (Allen)
6f98745458 Merge pull request #3307 from laradock/dependabot/npm_and_yarn/react/jsdom-and-react-scripts-16.7.0
Bump jsdom and react-scripts in /react
2022-12-01 11:42:18 +08:00
Shao Yu-Lung (Allen)
e1b919849c Merge pull request #3306 from laradock/dependabot/npm_and_yarn/react/shell-quote-and-react-scripts-1.7.4
Bump shell-quote and react-scripts in /react
2022-12-01 11:41:49 +08:00
dependabot[bot]
6e5e21ed1b Bump jsdom and react-scripts in /react
Bumps [jsdom](https://github.com/jsdom/jsdom) to 16.7.0 and updates ancestor dependency [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts). These dependencies need to be updated together.


Updates `jsdom` from 11.12.0 to 16.7.0
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/11.12.0...16.7.0)

Updates `react-scripts` from 3.4.1 to 5.0.1
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-3.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: indirect
- dependency-name: react-scripts
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:57:46 +00:00
dependabot[bot]
331067497b Bump shell-quote and react-scripts in /react
Bumps [shell-quote](https://github.com/ljharb/shell-quote) to 1.7.4 and updates ancestor dependency [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts). These dependencies need to be updated together.


Updates `shell-quote` from 1.7.2 to 1.7.4
- [Release notes](https://github.com/ljharb/shell-quote/releases)
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.7.2...v1.7.4)

Updates `react-scripts` from 3.4.1 to 5.0.1
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-3.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
- dependency-name: react-scripts
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:55:59 +00:00
Shao Yu-Lung (Allen)
3226fb95cc Merge pull request #3272 from sashashura/patch-2
GitHub Workflows security hardening
2022-12-01 08:15:55 +08:00
Alpha Snow
ca74510f77 fix: correct cachetool url #3303 2022-11-28 10:21:14 +08:00
戴日东
3695a85310 fix sometimes cannot find dependencies 2022-11-23 16:57:40 +08:00
Shao Yu-Lung (Allen)
f5f389331a Merge pull request #3284 from krispajak/php-fpm-ldap-arm64
php-fpm fails to build with ldap enabled under mac m1 (arm64)
2022-11-21 07:57:56 +08:00
Shao Yu-Lung (Allen)
c5ddca458a Merge pull request #3296 from the-paulus/oci8-arm64
Oci8 arm64
2022-11-21 07:56:32 +08:00
matini
faa8e04632 fix php7 swoole build failed 2022-11-18 16:49:00 +08:00
Paul M Lyon
adc61d951d Updated .env.example
- Added variables for instant client arch and version.
2022-11-11 11:44:07 -06:00
Mahmoud Zalt
ca6d68801e logos clean up 2022-11-11 13:41:55 +01:00
Paul M Lyon
756c71b97e Updated workspace/Dockerfile
- Added more vairables
- Updated instantclient repository
2022-11-11 01:19:51 -06:00
Paul M Lyon
aa85fbed4f Updated php-fpm/Dockerfile
- Added more variables
- Updated instantclient repository
2022-11-11 01:18:39 -06:00
Shao Yu-Lung (Allen)
2283eaa780 Merge pull request #3251 from robbie-thompson/master
Fixes #3249 - Expose Vite port in docker-compose.yml
2022-11-08 14:55:51 +08:00
Shao Yu-Lung (Allen)
bbbe087402 Merge branch 'master' into master 2022-11-08 14:28:49 +08:00
klgd
fdebd84c97 Fix change China mirror
Change China mirror is wrong, fix it
2022-11-07 18:05:47 +08:00
Shao Yu-Lung (Allen)
ba64feda04 Merge pull request #3291 from da-mask/master
Adding pcov for php 8.x to php-fpm and workspace
2022-11-02 08:35:59 +08:00
da-mask
3557b1bf91 Merge branch 'laradock:master' into master 2022-11-02 09:40:45 +11:00
Shao Yu-Lung (Allen)
257bfc4245 Merge pull request #3254 from TerjeBr/feature/update-maildev
Use the maintained version of maildev
2022-11-01 22:59:30 +08:00
Shao Yu-Lung (Allen)
1f42a92b5e Merge pull request #3283 from Silassiai/install-dnsutils
Install dnsutils
2022-11-01 22:30:26 +08:00
Silas
d6e2d51dae Merge branch 'master' into install-dnsutils 2022-10-31 12:19:13 +01:00
DanielFloris
b217f54d7a Adding pcov for php 8.x to php-fpm and workspace 2022-10-31 15:57:53 +11:00
Shao Yu-Lung (Allen)
878c267d89 Merge pull request #3258 from jwwb681232/master
add onedev(Self-hosted Git Server with CI/CD and Kanban)
2022-10-24 17:05:01 +08:00
Shao Yu-Lung (Allen)
848570c7d0 Merge pull request #3273 from esseremmerik/caddy-correct-version
Use correct Caddy repo to get latest version
2022-10-23 13:48:06 +08:00
Shao Yu-Lung (Allen)
2643087b71 Merge pull request #3279 from polarikus/fix-apache-m1
Fix apache m1
2022-10-23 13:46:47 +08:00
Shao Yu-Lung (Allen)
61a219e3c3 Merge pull request #3282 from makowskid/master
Adding `artisan` (and `art`) autocomplete in BASH
2022-10-23 13:44:40 +08:00
Shao Yu-Lung (Allen)
4ff41ecfc5 Merge pull request #3280 from kideny/phalcon
Fix Phalcon Support
2022-10-23 13:40:43 +08:00
Shao Yu-Lung (Allen)
2ff93b5e55 Merge pull request #3206 from DocLM/bugfix/xdebug-php-7
Fix Xdebug 3 compatibility with PHP 7.3 and 7.4
2022-10-23 13:36:26 +08:00
Leonardo Medici
8f22b552ee Fix Xdebug 3 compatibility with PHP 7.3 and 7.4
- Allow to set custom Xdebug port
- Update Xdebug to v3.1.4
2022-10-22 10:14:56 +02:00
guler
b3dfa8438f - added, PHP_DOWNGRADE_OPENSSL_TLS_VERSION
- php-fpm added, apt-get update
- workspace added, apt-get update
2022-10-14 11:33:21 +03:00
Kris Pajak
1869b562a3 php-fpm fails to build with ldap enabled under mac m1 (arm64) 2022-10-13 17:49:13 +02:00
Silas de Rooy
b8501c0a2b removed extension word 2022-10-13 13:02:40 +02:00
Silas de Rooy
71ae532527 dnsutils is a package 2022-10-13 13:01:09 +02:00
Silas de Rooy
72cf7f7844 Merge branch 'add-dnsutils-extension' into install-dnsutils 2022-10-13 12:59:32 +02:00
Silas de Rooy
045cd075b9 add dnsutils extension to workspace asn php-fmp 2022-10-13 12:53:56 +02:00
Dawid Makowski
0d08d36bd3 Adding artisan & art autocomplete in BASH 2022-10-13 12:46:21 +08:00
kideny
06ff2a34a0 fixed 2022-10-05 19:05:19 +08:00
Игорь Данилов
ed48e4ee1b Update index.md
Add ## Apache2 container won't start on mac m1
2022-10-04 20:05:01 +03:00
Игорь Данилов
98c5d7ba64 Update docker-compose.yml 2022-10-04 19:52:29 +03:00
Игорь Данилов
db1b30ecf2 Update Dockerfile
script for M1
2022-10-04 19:49:08 +03:00
Игорь Данилов
05536fb6a1 Update docker-compose.yml 2022-10-04 19:31:34 +03:00
Игорь Данилов
643669445c Update .env.example 2022-10-04 19:29:34 +03:00
Dawid Makowski
93bf686ca5 Merge pull request #1 from laradock/master
fork sync
2022-10-04 11:53:54 +07:00
kideny
59bf17ffcc fixed 2022-09-27 13:04:33 +08:00
kideny
2e31c037cd fixed 2022-09-27 13:03:28 +08:00
kideny
68f6364646 fixed 2022-09-27 11:56:31 +08:00
kideny
e4fe092f26 fixed 2022-09-27 11:31:56 +08:00
kideny
6d03808714 fixed 2022-09-27 10:25:20 +08:00
kideny
818488b862 fixed 2022-09-27 09:30:59 +08:00
kideny
edf4baac44 fixed 2022-09-27 09:23:21 +08:00
kideny
ff48d295f6 fixed 2022-09-27 09:22:10 +08:00
kideny
369a5040d4 fixed 2022-09-27 09:19:13 +08:00
kideny
72d8ec8f21 fixed 2022-09-27 09:17:24 +08:00
kideny
f9d7fc3b12 fixed 2022-09-27 09:09:29 +08:00
kideny
84854c8f0d update phalcon support 2022-09-27 06:01:13 +08:00
Logan
963d8e61ca fix Adding cron jobs description is incorrect 2022-09-22 17:36:09 +08:00
Procademy
f0a26307d1 Use correct Caddy repo 2022-09-21 11:03:44 +02:00
Alex
9402f8c104 build: harden main-ci.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 12:05:20 +02:00
Alex
61ecb42db9 build: harden build-deploy-docs.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 12:04:59 +02:00
SillyFish
475fd8f8d7 fix docker-compose.yml mariadb volumes 2022-09-20 00:33:53 +08:00
wangxiao
8357ef0b8c add onedev(Self-hosted Git Server with CI/CD and Kanban)
https://github.com/theonedev/onedev
2022-08-22 17:53:58 +08:00
Terje Bråten
e144605e63 Use the maintained version of maildev 2022-08-05 14:56:04 +01:00
Shao Yu-Lung (Allen)
6dba239462 Merge pull request #3247 from liudaved/patch-1
Change ngx_brotli mirror of Openresty
2022-08-01 12:36:04 +08:00
Shao Yu-Lung (Allen)
184f68bfe7 Merge pull request #3250 from davlet42/master
Updating the Clickhouse and Gosu versions
2022-08-01 12:35:32 +08:00
Robbie Thompson
fe2e5849df Expose Vite port in docker-compose.yml 2022-07-31 18:41:04 +01:00
davlet42
7e4bba514a Updating the Clickhouse and Gosu versions 2022-07-30 14:08:23 +03:00
Shao Yu-Lung (Allen)
61a186e54b Merge pull request #3216 from dstancer/master
WKHTMLtoX changes for Apple silicon
2022-07-30 11:09:19 +08:00
Shao Yu-Lung (Allen)
74bd308dc2 Merge pull request #3207 from leamsigc/fix-documentation-scroll
Documentation Scroll  on the x-axis
2022-07-30 11:07:32 +08:00
Shao Yu-Lung (Allen)
ec6c776251 Merge pull request #3248 from fahamjv/master
Fix Invalid template bug in .env.example file
2022-07-28 16:23:24 +08:00
Shao Yu-Lung (Allen)
a361dbb80e Merge pull request #3242 from channaveer/patch-1
Updated NGINX SSL Protocols
2022-07-27 20:17:08 +08:00
Shao Yu-Lung (Allen)
98452b5138 Merge pull request #3244 from laradock/dependabot/npm_and_yarn/react/terser-4.8.1
Bump terser from 4.8.0 to 4.8.1 in /react
2022-07-27 20:16:48 +08:00
fahamjv
ee88ac2e8c put Traefik varible in quotation 2022-07-27 13:50:48 +04:30
DavidLiu
5cd37b9f17 Change ngx_brotli mirror of Openresty
https://www.downsoft.cn/software/linux/nginx/ngx_brotli.tar.gz mirror is no longer available
2022-07-23 15:38:58 +08:00
dependabot[bot]
1101d29779 Bump terser from 4.8.0 to 4.8.1 in /react
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 19:50:06 +00:00
Shao Yu-Lung (Allen)
a4c79b5d8e Merge pull request #3222 from grasebit/bugfix/redis_webui_password
password is required for redis-webui
2022-07-18 21:27:55 +08:00
Shao Yu-Lung (Allen)
7eaaa0cedc Merge pull request #3209 from Yohoed2000/feature/add_event_extension
Add php event extension
2022-07-18 21:27:06 +08:00
Shao Yu-Lung (Allen)
ab85daef0e Merge pull request #3225 from laradock/dependabot/npm_and_yarn/react/eventsource-1.1.1
Bump eventsource from 1.0.7 to 1.1.1 in /react
2022-07-18 21:25:55 +08:00
Shao Yu-Lung (Allen)
44b7d1965c Merge pull request #3235 from amorZhu/amorZhu-patch-1
Update zsh config
2022-07-17 12:40:10 +08:00
Shao Yu-Lung (Allen)
0483b05821 Merge pull request #3205 from Yohoed2000/master
feat:add Soketi Server
2022-07-17 12:37:50 +08:00
Shao Yu-Lung (Allen)
a4bc68c470 Merge pull request #3231 from erikn69/patch-1
Fix tests
2022-07-17 12:36:39 +08:00
Channaveer Hakari
225988b8ef Updated SSL Protocols
For the sake of security purposes old SSL protocols ie TLSv1 and TLSv1.1 should be avoided.
2022-07-16 23:37:13 +05:30
zhushaolong
55b5fbaa9b Update zsh config
1. Plugin laravel5 not found in zsh plugin list.
2. The executable command for the composer package could not be found. For example 'laravel new xxx'. The zsh composer plugin solves this problem.
2022-07-01 02:42:33 +08:00
erikn69
c99d86b8e3 Fix tests 2022-06-21 10:09:47 -05:00
dependabot[bot]
9d3aec6a3f Bump eventsource from 1.0.7 to 1.1.1 in /react
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 22:27:38 +00:00
grasebit
b7945ded63 Add redis password to redis-webui. 2022-05-30 11:01:32 +09:00
grasebit
0e79534cf8 戻し 2022-05-30 10:58:39 +09:00
grasebit
727c53ac6b fix redis-webui 2022-05-27 17:06:50 +09:00
Shao Yu-Lung (Allen)
27cb551a9f Merge pull request #3210 from rc1021/patch-3
Solved undefined function imagecreatefromjpeg
2022-05-27 09:30:32 +08:00
Shao Yu-Lung (Allen)
0da3043334 Merge pull request #3218 from xiagw/fix-redis-requirepass
🐞fix(M  .env.example M  docker-compose.yml): redis --requirepass
2022-05-21 10:43:28 +08:00
xiagw
e776f61745 🐞fix(M .env.example
M  docker-compose.yml): redis --requirepass
2022-05-18 09:21:20 +08:00
xiagw
e5ea20f0fb Merge remote-tracking branch 'origin/master' into master-fork 2022-05-18 09:01:48 +08:00
Denis Stancer
b50d514c6c Make WKHTMLtoX version configurable 2022-05-16 21:36:20 +02:00
Denis Stančer
37377b07f0 Add architecture detection for WKHTMLtoX installation
If Apple silicon version of Docker Desktop is installed then some containers will be
for arm64 architecture instead of amd64.
So when installing WKHTMLtoX a proper package has to be installed.
2022-05-16 20:02:22 +02:00
Denis Stančer
4b81ddf797 Add architecture detection for WKHTMLtoX installation
If Apple silicon version of Docker Desktop is installed then some containers will be
for arm64 architecture instead of amd64.
So when installing WKHTMLtoX a proper package has to be installed.
2022-05-16 19:57:46 +02:00
Wuweiming
baeb2a2cb6 fix workspace DockerFile 2022-05-09 10:31:31 +08:00
許益銘
7abbfd3142 Solved undefined function imagecreatefromjpeg
[Solved] `Call to undefined function Intervention\Image\Gd\imagecreatefromjpeg()`

[PHP 7.4 Changelog](https://www.php.net/manual/en/migration74.other-changes.php) in GD section

we can run docker-php-ext-configure command to configure our gd with JPEG support. 
we don't need to provide flag to enable PNG.

```
$ docker exec -it laradock_php-worker_1 php -r 'print_r(gd_info());'
Array
(
    [GD Version] => bundled (2.1.0 compatible)
    [FreeType Support] => 1
    [FreeType Linkage] => with freetype
    [GIF Read Support] => 1
    [GIF Create Support] => 1
    [JPEG Support] => 1
    [PNG Support] => 1
    [WBMP Support] => 1
    [XPM Support] => 
    [XBM Support] => 1
    [WebP Support] => 
    [BMP Support] => 1
    [TGA Read Support] => 1
    [JIS-mapped Japanese Font Support] => 
)
```
2022-05-06 23:40:14 +08:00
Wuweiming
a285caa18f add php event 2022-05-06 16:11:29 +08:00
leamsigc
220f2eb451 Problem:
- When user are reading the documentation, there is a horizontal scrolling.
Solution:
 - Prevent scroll x on mibile view
2022-05-03 21:24:58 +02:00
Wuweiming
20463869c2 fix:add .env.example 2022-04-29 14:29:30 +08:00
Wuweiming
cd9542198c feat:Add the broadcast driver officially recommended by laravel 2022-04-29 14:21:10 +08:00
Shao Yu-Lung (Allen)
a2dd97674f Merge pull request #3199 from laradock/dependabot/npm_and_yarn/react/async-2.6.4
Bump async from 2.6.3 to 2.6.4 in /react
2022-04-26 20:48:46 +08:00
Shao Yu-Lung (Allen)
e63d0e7974 Merge pull request #3201 from afsh7n/patch-1
Update .env.example
2022-04-26 20:48:28 +08:00
Shao Yu-Lung (Allen)
6ca7e1357f Merge pull request #3202 from afsh7n/patch-3
Update index.md
2022-04-26 20:48:05 +08:00
Afshin Tavakolian
4263de43fd Update index.md
8.1 PHP-FPM was added to the samples
2022-04-26 15:18:18 +04:30
Afshin Tavakolian
bf0887c675 Update .env.example
8.1 PHP-FPM was added to the samples
2022-04-26 15:07:08 +04:30
dependabot[bot]
fe885ea130 Bump async from 2.6.3 to 2.6.4 in /react
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 14:36:49 +00:00
Shao Yu-Lung (Allen)
7bfdb23cb1 Merge pull request #3197 from laradock/dependabot/npm_and_yarn/react/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6 in /react
2022-04-21 22:35:44 +08:00
dependabot[bot]
10b3906da4 Bump minimist from 1.2.5 to 1.2.6 in /react
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-17 15:53:50 +00:00
xiagw
263c9cd5df Merge branch 'master' into master-xiagw 2021-08-20 09:00:18 +08:00
xiagw
0b0cbdd18d Merge branch 'master' into master-xiagw 2021-07-20 15:44:15 +08:00
xiagw
7017d87a77 Merge remote-tracking branch 'origin/master' into master-xiagw 2021-06-09 20:07:42 +08:00
Jean Bonilha
631c289de6 Makes easy login into mysql server
Avoid pass user flag and password flag to mysql command into mysql container for log in mysql server that's running.
2020-07-28 10:13:21 -04:00
Can Tecim
bb6338b6b4 disable mysql asynchronous io to prevent database losing issues with windows 2020-04-30 23:50:18 +03:00
xiaLinux3
6d7a1b51d8 Merge remote-tracking branch 'upstream/master' into xia-master 2019-09-20 15:41:04 +08:00
xiagw
5bea3b921d Merge remote-tracking branch 'upstream/master' into xia-gh-master 2019-08-25 18:44:55 +08:00
Bharat Gupta
e2160e388d fixed reference link to list of container 2019-08-24 13:08:41 +05:30
xiaLinux3
6e889b724f Merge remote-tracking branch 'upstream/master' into xia-master 2019-08-23 15:37:29 +08:00
xiagw
d5e83f8cfc Merge remote-tracking branch 'upstream/master' into github-master 2019-05-26 01:07:20 +08:00
xiagw
6794418fa6 Merge remote-tracking branch 'upstream/master' into xia-master 2019-05-10 21:04:41 +08:00
xiagw
50b0240ed1 Merge remote-tracking branch 'upstream/master' into xia-master 2019-05-07 23:23:56 +08:00
xiagw
76c39050b1 Merge pull request #1 from laradock/master
fix pgadmin workstation name (#2088)
2019-04-21 17:18:38 +08:00
Rony Debnath
cb7ea58b57 specifying which files to Gzip compress and increase grade in Google page speed 2019-01-10 17:13:58 +06:00
46 changed files with 13107 additions and 10586 deletions

View File

@@ -38,13 +38,13 @@ COMPOSE_PROJECT_NAME=laradock
### PHP Version ###########################################
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
# Accepted values: 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
# Accepted values: 8.2 - 8.1 - 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
PHP_VERSION=7.4
### Phalcon Version ###########################################
# Select a Phalcon version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 3.4.0+
PHALCON_VERSION=4.0.5
# Select a Phalcon version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 5.0.0+
PHALCON_VERSION=5.0.0
### PHP Interpreter #######################################
@@ -65,6 +65,9 @@ PHP_IDE_CONFIG=serverName=laradock
PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=false
# Accepted values: 1.2 - 1.1 - 1.0
PHP_DOWNGRADE_OPENSSL_TLS_VERSION=1.2
### Windows Path ##########################################
# A fix for Windows users, to ensure the application path works
@@ -75,7 +78,10 @@ COMPOSE_CONVERT_WINDOWS_PATHS=1
# If you need to change the sources (i.e. to China), set CHANGE_SOURCE to true
CHANGE_SOURCE=false
# Set ORACLE INSTANT_CLIENT_MIRROR option if you want to use Intranet improve download, you can download files first
ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/diogomascarenha/oracle-instantclient/raw/master/
ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/the-paulus/oracle-instantclient/raw/master/
ORACLE_INSTANT_CLIENT_ARCH=x86_64
ORACLE_INSTANT_CLIENT_MAJOR=18
ORACLE_INSTANT_CLIENT_MINOR=3
### Docker Sync ###########################################
@@ -116,6 +122,8 @@ WORKSPACE_INSTALL_NPM_GULP=true
WORKSPACE_INSTALL_NPM_BOWER=false
WORKSPACE_INSTALL_NPM_VUE_CLI=true
WORKSPACE_INSTALL_NPM_ANGULAR_CLI=false
WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI=false
WORKSPACE_INSTALL_POPPLER_UTILS=false
WORKSPACE_INSTALL_PHPREDIS=true
WORKSPACE_INSTALL_WORKSPACE_SSH=false
WORKSPACE_INSTALL_SUBVERSION=false
@@ -167,7 +175,7 @@ WORKSPACE_INSTALL_SWOOLE=false
WORKSPACE_INSTALL_TAINT=false
WORKSPACE_INSTALL_LIBPNG=false
WORKSPACE_INSTALL_GRAPHVIZ=false
WORKSPACE_INSTALL_IONCUBE=false # PHP 8.0 is not supported yet. Reference: https://forum.ioncube.com/viewtopic.php?t=4592
WORKSPACE_INSTALL_IONCUBE=false # PHP 8.2 is not supported yet.
WORKSPACE_INSTALL_MYSQL_CLIENT=false
WORKSPACE_INSTALL_PING=false
WORKSPACE_INSTALL_SSHPASS=false
@@ -177,6 +185,7 @@ WORKSPACE_INSTALL_YAML=false
WORKSPACE_INSTALL_RDKAFKA=false
WORKSPACE_INSTALL_MAILPARSE=false
WORKSPACE_INSTALL_XMLRPC=false
WORKSPACE_INSTALL_APCU=false
WORKSPACE_PUID=1000
WORKSPACE_PGID=1000
WORKSPACE_CHROME_DRIVER_VERSION=2.42
@@ -185,6 +194,7 @@ WORKSPACE_SSH_PORT=2222
WORKSPACE_INSTALL_FFMPEG=false
WORKSPACE_INSTALL_AUDIOWAVEFORM=false
WORKSPACE_INSTALL_WKHTMLTOPDF=false
WORKSPACE_WKHTMLTOPDF_VERSION=0.12.6-1
WORKSPACE_INSTALL_GNU_PARALLEL=false
WORKSPACE_INSTALL_AST=true
WORKSPACE_AST_VERSION=1.0.10
@@ -203,6 +213,11 @@ WORKSPACE_INSTALL_SSDB=false
WORKSPACE_INSTALL_TRADER=false
WORKSPACE_PROTOC_VERSION=latest
WORKSPACE_INSTALL_MEMCACHED=true
WORKSPACE_INSTALL_EVENT=false
WORKSPACE_INSTALL_DNSUTILS=true
WORKSPACE_XDEBUG_PORT=9000
WORKSPACE_VITE_PORT=5173
WORKSPACE_INSTALL_JDK=true
### PHP_FPM ###############################################
@@ -249,7 +264,7 @@ PHP_FPM_INSTALL_POSTGIS=false
PHP_FPM_INSTALL_PCNTL=false
PHP_FPM_INSTALL_CALENDAR=false
PHP_FPM_INSTALL_FAKETIME=false
PHP_FPM_INSTALL_IONCUBE=false # PHP 8.0 is not supported yet. Reference: https://forum.ioncube.com/viewtopic.php?t=4592
PHP_FPM_INSTALL_IONCUBE=false # PHP 8.2 is not supported yet.
PHP_FPM_INSTALL_RDKAFKA=false
PHP_FPM_INSTALL_GETTEXT=false
PHP_FPM_INSTALL_XMLRPC=false
@@ -263,6 +278,7 @@ PHP_FPM_INSTALL_PING=false
PHP_FPM_INSTALL_SSHPASS=false
PHP_FPM_INSTALL_MAILPARSE=false
PHP_FPM_INSTALL_WKHTMLTOPDF=false
PHP_FPM_WKHTMLTOPDF_VERSION=0.12.6.1-3
PHP_FPM_INSTALL_XLSWRITER=false
PHP_FPM_INSTALL_PHPDECIMAL=false
PHP_FPM_INSTALL_ZOOKEEPER=false
@@ -273,7 +289,10 @@ PHP_FPM_AUDIOWAVEFORM=false
PHP_FPM_ADDITIONAL_LOCALES="en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8"
PHP_FPM_INSTALL_DOCKER_CLIENT=false
PHP_FPM_DEFAULT_LOCALE=POSIX
PHP_FPM_XDEBUG_PORT=9003
PHP_FPM_XDEBUG_PORT=9000
PHP_FPM_INSTALL_EVENT=false
PHP_FPM_INSTALL_DNSUTILS=true
PHP_FPM_INSTALL_POPPLER_UTILS=false
PHP_FPM_PUID=1000
PHP_FPM_PGID=1000
@@ -302,6 +321,7 @@ PHP_WORKER_INSTALL_MEMCACHED=false
PHP_WORKER_INSTALL_OCI8=false
PHP_WORKER_INSTALL_MSSQL=false
PHP_WORKER_INSTALL_PHALCON=false
PHP_WORKER_INSTALL_APCU=false
PHP_WORKER_INSTALL_SOAP=false
PHP_WORKER_INSTALL_ZIP_ARCHIVE=false
PHP_WORKER_INSTALL_MYSQL_CLIENT=false
@@ -317,6 +337,9 @@ PHP_WORKER_INSTALL_REDIS=false
PHP_WORKER_INSTALL_IMAP=false
PHP_WORKER_INSTALL_XMLRPC=false
PHP_WORKER_INSTALL_SSDB=false
PHP_WORKER_INSTALL_EVENT=false
PHP_WORKER_INSTALL_INTL=true
PHP_WORKER_INSTALL_POPPLER_UTILS=false
PHP_WORKER_PUID=1000
PHP_WORKER_PGID=1000
@@ -358,6 +381,7 @@ LARAVEL_HORIZON_INSTALL_MONGO=false
LARAVEL_HORIZON_INSTALL_CASSANDRA=false
LARAVEL_HORIZON_INSTALL_FFMPEG=false
LARAVEL_HORIZON_INSTALL_AUDIOWAVEFORM=false
LARAVEL_HORIZON_INSTALL_POPPLER_UTILS=false
LARAVEL_HORIZON_PGID=1000
LARAVEL_HORIZON_PUID=1000
@@ -373,6 +397,7 @@ APACHE_PHP_UPSTREAM_TIMEOUT=60
APACHE_DOCUMENT_ROOT=/var/www/
APACHE_SSL_PATH=./apache2/ssl/
APACHE_INSTALL_HTTP2=false
APACHE_FOR_MAC_M1=false
### MYSQL #################################################
@@ -386,8 +411,8 @@ MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
### CLICKHOUSE #################################################
CLICKHOUSE_VERSION=20.9.4.76
CLICKHOUSE_GOSU_VERSION=1.10
CLICKHOUSE_VERSION=22.2.2.1
CLICKHOUSE_GOSU_VERSION=1.14
CLICKHOUSE_CUSTOM_CONFIG=./clickhouse/config.xml
CLICKHOUSE_USERS_CUSTOM_CONFIG=./clickhouse/users.xml
CLICKHOUSE_USER=default
@@ -401,6 +426,7 @@ CLICKHOUSE_HOST_LOG_PATH=./logs/clickhouse
### REDIS #################################################
REDIS_PORT=6379
REDIS_PASSWORD=secret_redis
### REDIS CLUSTER #########################################
@@ -442,6 +468,7 @@ MARIADB_ENTRYPOINT_INITDB=./mariadb/docker-entrypoint-initdb.d
### POSTGRES ##############################################
POSTGRES_VERSION=alpine
POSTGRES_CLIENT_VERSION=15
POSTGRES_DB=default
POSTGRES_USER=default
POSTGRES_PASSWORD=secret
@@ -889,18 +916,16 @@ MAILU_WEBMAIL=rainloop
# Dav server implementation (value: radicale, none)
MAILU_WEBDAV=radicale
### TRAEFIK #################################################
TRAEFIK_HOST_HTTP_PORT=80
TRAEFIK_HOST_HTTPS_PORT=443
TRAEFIK_DASHBOARD_PORT=8888
# basic authentication for traefik dashboard username: admin password:admin
TRAEFIK_DASHBOARD_USER=admin:$2y$10$lXaL3lj6raFic6rFqr2.lOBoCudAIhB6zyoqObNg290UFppiUzTTi
TRAEFIK_DASHBOARD_USER='admin:$2y$10$lXaL3lj6raFic6rFqr2.lOBoCudAIhB6zyoqObNg290UFppiUzTTi'
ACME_DOMAIN=example.org
ACME_EMAIL=email@example.org
### MOSQUITTO #################################################
MOSQUITTO_PORT=9001
@@ -1040,3 +1065,27 @@ TARANTOOL_ADMIN_PORT=8002
NATS_CLIENT_PORT=4222
NATS_MONITORING_PORT=6222
NATS_ROUTE_PORT=8222
### SOKETI ##################################################
SOKETI_PORT=6001
SOKETI_METRICS_SERVER_PORT=9601
### ONEDEV ##################################################
ONEDEV_HTTP_PORT=6610
ONEDEV_SSH_PORT=6611
### Keycloak ################################################
KEYCLOAK_VERSION=latest
KEYCLOAK_POSTGRES_INIT=true
KEYCLOAK_HTTP_PORT=8081
KEYCLOAK_CREATE_ADMIN_USER=true
KEYCLOAK_ADMIN_USER='admin'
KEYCLOAK_ADMIN_PASSWORD='secret'
KEYCLOAK_POSTGRES_HOST=postgres
KEYCLOAK_POSTGRES_USER=laradock_keycloak
KEYCLOAK_POSTGRES_PASSWORD=laradock_keycloak
KEYCLOAK_POSTGRES_DB=laradock_keycloak
### Mailpit #################################################
MAILPIT_HTTP_PORT=8125
MAILPIT_SMTP_PORT=1125

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -8,8 +8,12 @@ on:
- '.github/workflows/build-deploy-docs.yml'
- 'DOCUMENTATION/**'
permissions: {}
jobs:
build-deploy-docs:
permissions:
contents: write # to push pages branch (peaceiris/actions-gh-pages)
if: github.repository == 'laradock/laradock'
runs-on: ubuntu-20.04
concurrency:
@@ -19,7 +23,7 @@ jobs:
working-directory: ./DOCUMENTATION
steps:
- name: Checkout Source Code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2

View File

@@ -11,6 +11,9 @@ on:
schedule:
- cron: '0 0 * * 0'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build-php:
# Don't trigger on schedule event when in a fork
@@ -19,10 +22,10 @@ jobs:
strategy:
fail-fast: false
matrix:
php_version: [ "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1" ]
php_version: [ "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2" ]
service: [ php-fpm, php-worker, workspace ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build the Docker image
env:
PHP_VERSION: ${{ matrix.php_version }}
@@ -44,11 +47,11 @@ jobs:
sed -i -- 's/SSDB=true/SSDB=false/g' .env
sed -i -- 's/ENCHANT=true/ENCHANT=false/g' .env
sed -i -- 's/PG_CLIENT=true/PG_CLIENT=false/g' .env
sed -i -- 's/MSSQL=true/MSSQL=false/g' .env
docker-compose build ${{ matrix.service }}
docker-compose up -d --no-deps -- ${{ matrix.service }}
docker-compose exec -T -- ${{ matrix.service }} php -m
docker-compose down
# sed -i -- 's/MSSQL=true/MSSQL=false/g' .env
docker compose build ${{ matrix.service }}
docker compose up -d --no-deps -- ${{ matrix.service }}
docker compose exec -T -- ${{ matrix.service }} php -m
docker compose down
build-other:
# Don't trigger on schedule event when in a fork
@@ -59,10 +62,10 @@ jobs:
matrix:
service: [ 'nginx', 'redis', 'mysql', 'mariadb', 'percona', 'minio', 'mongo' ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build the Docker image
run: |
cp .env.example .env
sed -i -- 's/=false/=true/g' .env
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
docker-compose build ${{ matrix.service }}
docker compose build ${{ matrix.service }}

View File

@@ -1,58 +0,0 @@
language: bash
sudo: required
services:
- docker
env:
matrix:
- HUGO_VERSION=0.20.2
- PHP_VERSION=hhvm BUILD_SERVICE=hhvm
# - PHP_VERSION=5.6 BUILD_SERVICE=php-worker
- PHP_VERSION=7.0 BUILD_SERVICE=php-worker
- PHP_VERSION=7.1 BUILD_SERVICE=php-worker
- PHP_VERSION=7.2 BUILD_SERVICE=php-worker
- PHP_VERSION=7.3 BUILD_SERVICE=php-worker
- PHP_VERSION=7.4 BUILD_SERVICE=php-worker
- PHP_VERSION=8.0 BUILD_SERVICE=php-worker
- PHP_VERSION=8.1 BUILD_SERVICE=php-worker
- PHP_VERSION=7.0 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=7.1 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=7.2 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=7.3 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=7.4 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=8.0 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=8.1 BUILD_SERVICE=laravel-horizon
- PHP_VERSION=NA BUILD_SERVICE=solr
- PHP_VERSION=NA BUILD_SERVICE="mssql rethinkdb aerospike"
- PHP_VERSION=NA BUILD_SERVICE="blackfire minio percona nginx caddy apache2 mysql mariadb postgres postgres-postgis neo4j mongo redis cassandra"
- PHP_VERSION=NA BUILD_SERVICE="adminer phpmyadmin pgadmin"
- PHP_VERSION=NA BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 haproxy gearman"
- PHP_VERSION=NA BUILD_SERVICE="kibana grafana laravel-echo-server"
- PHP_VERSION=NA BUILD_SERVICE="ipython-controller manticore"
# - PHP_VERSION=NA BUILD_SERVICE="aws"
# Installing a newer Docker version
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- docker version
script: ./travis-build.sh
deploy:
provider: pages
skip_cleanup: true
local_dir: docs
github_token: $GITHUB_TOKEN
on:
branch: master
condition: -n "${HUGO_VERSION}"
notifications:
email: false

View File

@@ -1232,39 +1232,43 @@ A package ([Laravel RethinkDB](https://github.com/duxet/laravel-rethinkdb)) is b
## Use Minio
1. Configure Minio:
- On the workspace container, change `INSTALL_MC` to true to get the client
- Set `MINIO_ACCESS_KEY` and `MINIO_ACCESS_SECRET` if you wish to set proper keys
- You can change some settings in the `.env` file (`MINIO_*`)
- You can install Minio Client on the workspace container: `WORKSPACE_INSTALL_MC=true`
2. Run the Minio Container (`minio`) with the `docker-compose up` command. Example:
```bash
docker-compose up -d minio
```
3. Open your browser and visit the localhost on port **9000** at the following URL: `http://localhost:9000`
4. Create a bucket either through the webui or using the mc client:
4. Create a bucket either through the webui or using the Minio Client:
```bash
mc mb minio/bucket
```
5 - When configuring your other clients use the following details:
```
AWS_URL=http://minio:9000
AWS_ACCESS_KEY_ID=access
AWS_SECRET_ACCESS_KEY=secretkey
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=test
AWS_PATH_STYLE=true
```
6 - In `filesystems.php` you shoud use the following details (s3):
```
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'endpoint' => env('AWS_URL'),
'use_path_style_endpoint' => env('AWS_PATH_STYLE', false)
],
```
`'AWS_PATH_STYLE'` shout set to true only for local purpouse
5. When configuring your other clients use the following details:
```
AWS_URL=http://minio:9000
AWS_ACCESS_KEY_ID=access
AWS_SECRET_ACCESS_KEY=secretkey
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=test
AWS_USE_PATH_STYLE_ENDPOINT=true
```
6. In `filesystems.php` you should use the following details (s3):
```php
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'endpoint' => env('AWS_URL'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false)
],
```
`AWS_USE_PATH_STYLE_ENDPOINT` should set to true only for local purpose
@@ -1490,6 +1494,46 @@ docker-compose exec tarantool console
7 - There you can operate with tarantool database ([official documentation](https://www.tarantool.io/en/doc/latest/) can be helpful).
<br>
<a name="use Keycloak"></a>
## Use Keycloak
1. Run the Keycloak Container (`keycloak`) with the `docker-compose up` command. Example:
```bash
docker-compose up -d keycloak
```
2. Open your browser and visit the localhost on port 8081: `http://localhost:8081`
3. Login with the following credentials:
- Username: `admin`
- Password: `secret`
<br>
<a name="use Mailpit"></a>
## Use Mailpit
1. Run the Mailpit Container (`mailpit`) with the `docker-compose up` command. Example:
```bash
docker-compose up -d mailpit
```
2. Open your browser and visit the localhost on port 8125: `http://localhost:8125`
3. Setup config in your Laravel projects .env file
```text
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1125
MAIL_USERNAME=null
MAIL_PASSWORD=null
```
<br>
<a name="CodeIgniter"></a>
@@ -1606,7 +1650,7 @@ Update the locale setting, default is `POSIX`
<a name="CronJobs"></a>
## Adding cron jobs
You can add your cron jobs to `workspace/crontab/root` after the `php artisan` line.
You can add your cron jobs to `workspace/crontab/laradock` after the `php artisan` line.
```
* * * * * laradock /usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1
@@ -1941,6 +1985,55 @@ To install NPM ANGULAR CLI in the Workspace container
3 - Re-build the container `docker-compose build workspace`
<br>
<a name="Install-npm-check-updates"></a>
## Install npm-check-updates CLI
To install npm-check-updates CLI [here](https://www.npmjs.com/package/npm-check-updates) in the Workspace container
1 - Open the `.env` file
2 - Make sure Node is also being installed (`WORKSPACE_INSTALL_NODE` set to `true`)
3 - Search for the `WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI` argument under the Workspace Container and set it to `true`
4 - Re-build the container `docker-compose build workspace`
<br>
<a name="Install-poppler-utils"></a>
## Install `poppler-utils` (and `antiword` combined)
Poppler is a PDF rendering library based on Xpdf PDF viewer.
This package contains command line utilities (based on Poppler) for getting information of PDF documents, convert them to other formats, or manipulate them:
* pdfdetach -- lists or extracts embedded files (attachments)
* pdffonts -- font analyzer
* pdfimages -- image extractor
* pdfinfo -- document information
* pdfseparate -- page extraction tool
* pdfsig -- verifies digital signatures
* pdftocairo -- PDF to PNG/JPEG/PDF/PS/EPS/SVG converter using Cairo
* pdftohtml -- PDF to HTML converter
* pdftoppm -- PDF to PPM/PNG/JPEG image converter
* pdftops -- PDF to PostScript (PS) converter
* pdftotext -- text extraction
* pdfunite -- document merging tool
`poppler-utils` is often used by popular PDF/DOC parsing packages in combination with `antiword`, hence both are installed when flags in `.env` are set.
To install `poppler-utils` [(more here)](https://packages.debian.org/sid/poppler-utils) in any of the `workspace/php-fpm/php-worker/laravel-horizon` container
1 - Open the `.env` file
2 - Search for the `WORKSPACE_INSTALL_POPPLER_UTILS` argument under the Workspace Container and set it to `true`
3 - Search for the `PHP_FPM_INSTALL_POPPLER_UTILS` argument under the Workspace Container and set it to `true`
4 - Search for the `PHP_WORKER_INSTALL_POPPLER_UTILS` argument under the Workspace Container and set it to `true`
5 - Search for the `LARAVEL_HORIZON_INSTALL_POPPLER_UTILS` argument under the Workspace Container and set it to `true`
6 - Re-build the container `docker-compose build workspace php-fpm php-worker laravel-horizon`
@@ -2253,6 +2346,31 @@ For configuration information, visit the [bash-git-prompt repository](https://gi
<a name="Install-Oh-My-Zsh"></a>
## Install Oh My ZSH
<br>
<a name="Install-Dnsutils"></a>
## Install Dnsutils
1 - First install `dnsutils` in the Workspace and the PHP-FPM Containers:
<br>
a) open the `.env` file
<br>
b) search for the `WORKSPACE_INSTALL_DNSUTILS` argument under the Workspace Container
<br>
c) set it to `true`
<br>
d) search for the `PHP_FPM_INSTALL_DNSUTILS` argument under the PHP-FPM Container
<br>
e) set it to `true`
<br>
2 - Re-build the containers `docker-compose build workspace php-fpm`
> With the Laravel autocomplete plugin.
[Zsh](https://en.wikipedia.org/wiki/Z_shell) is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh.
@@ -2500,6 +2618,13 @@ docker-compose up ...
*Note: If you faced any errors, try restarting Docker, and make sure you have no spaces in the `d4m-nfs-mounts.txt` file, and your `/etc/exports` file is clear.*
<br>
<a name="ca-certificates"></a>
## ca-certificates
To install your own CA certificates, you can add them to the `workspace/ca-certificates` folder.
This way the certificates will be installed into the system ca store of the workspace container.
<br>
<a name="upgrade-laradock"></a>

View File

@@ -7,7 +7,7 @@ weight: 2
## Requirements
- [Git](https://git-scm.com/downloads)
- [Docker](https://www.docker.com/products/docker/) [ >= 17.12 ]
- [Docker](https://www.docker.com/products/docker-desktop/) [ >= 19.03.0 ]
@@ -148,12 +148,12 @@ If you use Chrome 63 or above for development, don't use `.dev`. [Why?](https://
If you are using **Docker Toolbox** (VM), do one of the following:
- Upgrade to Docker [Native](https://www.docker.com/products/docker) for Mac/Windows (Recommended). Check out [Upgrading Laradock](/documentation/#upgrading-laradock)
- Upgrade to [Docker Desktop](https://www.docker.com/products/docker-desktop/) for Mac/Windows (Recommended). Check out [Upgrading Laradock](/documentation/#upgrading-laradock)
- Use Laradock v3.\*. Visit the [Laradock-ToolBox](https://github.com/laradock/laradock/tree/LaraDock-ToolBox) branch. *(outdated)*
<br>
We recommend using a Docker version which is newer than 1.13.
We recommend using a Docker Engine version which is newer than 19.03.0.
<br>
@@ -184,7 +184,7 @@ docker-compose up -d nginx mysql
**Note**: All the web server containers `nginx`, `apache` ..etc depends on `php-fpm`, which means if you run any of them, they will automatically launch the `php-fpm` container for you, so no need to explicitly specify it in the `up` command. If you have to do so, you may need to run them as follows: `docker-compose up -d nginx php-fpm mysql`.
You can select your own combination of containers from [this list](http://laradock.io/introduction/#supported-software-images).
You can select your own combination of containers from [this list](https://laradock.io/introduction/#supported-software-docker-images).
*(Please note that sometimes we forget to update the docs, so check the `docker-compose.yml` file to see an updated list of all available containers).*

View File

@@ -127,3 +127,21 @@ WORKSPACE_INSTALL_LIBPNG=true
docker-compose build workspace
```
## Apache2 container won't start on mac m1
To fix the problem you can follow those steps
1 - Open the `.env`.
2 - Search for `APACHE_FOR_MAC_M1` or add the key, if missing.
3 - Set the value to true:
```dotenv
APACHE_FOR_MAC_M1=true
```
4 - Finally rebuild the workspace image
```bash
docker-compose build apache2
```

View File

@@ -17,7 +17,7 @@ It supports a variety of common services, all pre-configured to provide a ready
<a name="features"></a>
## Features
- Easy switch between PHP versions: 8.0, 7.4, 7.3, 7.2, 7.1, 5.6...
- Easy switch between PHP versions: 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 5.6...
- Choose your favorite database engine: MySQL, Postgres, MariaDB...
- Run your own stack: Memcached, HHVM, RabbitMQ...
- Each software runs on its own container: PHP-FPM, NGINX, PHP-CLI...
@@ -180,6 +180,7 @@ That's it! enjoy :)
- `SOAP`
- `Drush`
- `Wordpress CLI`
- `dnsutils`
- Apache ZooKeeper *(Centralized service for distributed systems to a hierarchical key-value store)*
- Kibana *(Visualize your Elasticsearch data and navigate the Elastic Stack)*
- Dejavu *(Edit your Elasticsearch data)*
@@ -385,12 +386,13 @@ Sponsoring is an act of giving in a different fashion. 🌱
<p align="center">
<a href="https://kasynohex.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/PLD.png" height="75px" alt="KasynoHEX.com Polska"></a>
<a href="https://onlinecasinohex.ca/online-casinos/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/CA.png" height="75px" alt="Online casino list in Canada by OnlineCasinoHEX.ca"></a>
<a href="https://aussiecasinohex.com/online-pokies/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/AU.png" height="75px" alt="Online pokies by AussieCasinoHEX.com"></a>
<a href="http://apiato.io/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/apiato.png" height="75px" alt="Apiato Build PHP API's faster"></a>
<a href="https://www.bestonlinecasino.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/bestonlinecasino.jpg" height="75px" alt="We thank bestonlinecasino.com for their support"></a>
<a href="https://casinopilotti.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/casinopilotti.png" height="75px" alt="CasinoPilotti"></a>
<a href="https://sista.ai/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/sista-ai-icon.png" height="75px" alt="Sista AI - Unlock Your Full Potential With a Personal AI Coach. (www.sista.ai)"></a>
<a href="http://apiato.io/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/apiato.png" height="75px" alt="Apiato - Build PHP API's faster!"></a>
<!-- <a href="https://kasynohex.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/PLD.png" height="75px" alt="KasynoHEX.com Polska"></a> -->
<!-- <a href="https://onlinecasinohex.ca/online-casinos/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/CA.png" height="75px" alt="Online casino list in Canada by OnlineCasinoHEX.ca"></a> -->
<!-- <a href="https://aussiecasinohex.com/online-pokies/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/AU.png" height="75px" alt="Online pokies by AussieCasinoHEX.com"></a> -->
<!-- <a href="https://www.bestonlinecasino.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/bestonlinecasino.jpg" height="75px" alt="We thank bestonlinecasino.com for their support"></a> -->
<!-- <a href="https://casinopilotti.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/casinopilotti.png" height="75px" alt="CasinoPilotti"></a> -->
<a href="https://opencollective.com/laradock/tiers/gold-sponsors/0/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/gold-sponsors/0/avatar.svg?button=false&isActive=true" height="75px"></a>
@@ -417,7 +419,7 @@ Sponsoring is an act of giving in a different fashion. 🌱
<p align="center">
<a href="https://veepn.com/vpn-apps/vpn-for-chrome/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/VeePN.png" height="65px" alt="VeePN Chrome extension"></a>
<!-- <a href="https://veepn.com/vpn-apps/vpn-for-chrome/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/VeePN.png" height="65px" alt="VeePN Chrome extension"></a> -->
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/0/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/0/avatar.svg?button=false&isActive=true" height="65px"></a>

View File

@@ -1,5 +1,7 @@
/* Custom CSS */
.article{
overflow-x:hidden;
}
.article a {
border-bottom: none;
}

View File

@@ -179,7 +179,7 @@ Homestead 是一个工具,为你控制虚拟机(使用 Homestead 特殊命令)
## 依赖
- [Git](https://git-scm.com/downloads)
- [Docker](https://www.docker.com/products/docker/)
- [Docker](https://www.docker.com/products/docker-desktop/)
<a name="Installation"></a>
## 安装
@@ -205,9 +205,9 @@ git clone https://github.com/laradock/laradock.git
**请在开始之前阅读:**
如果你正在使用 **Docker Toolbox** (VM),选择以下任何一个方法:
- 更新到 Docker [Native](https://www.docker.com/products/docker) Mac/Windows 版本 (建议). 查看 [Upgrading Laradock](#upgrading-laradock)
- 更新到 [Docker Desktop](https://www.docker.com/products/docker-desktop/) Mac/Windows 版本 (建议). 查看 [Upgrading Laradock](#upgrading-laradock)
- 使用 Laradock v3.* (访问 `Laradock-ToolBox` [分支](https://github.com/laradock/laradock/tree/Laradock-ToolBox)).
如果您使用的是 **Docker Native**(Mac / Windows 版本)甚至是 Linux 版本,通常可以继续阅读这个文档Laradock v4 以上版本将仅支持 **Docker Native**。
如果您使用的是 **Docker Desktop**(Mac / Windows 版本)甚至是 Linux 版本,通常可以继续阅读这个文档Laradock v4 以上版本将仅支持 **Docker Desktop**。
1 - 运行容器: *(在运行 `docker-compose` 命令之前,确认你在 `laradock` 目录中*

View File

@@ -8,7 +8,6 @@
<a href="https://github.com/laradock/laradock/issues"><img src="https://img.shields.io/github/issues/laradock/laradock.svg" alt="GitHub issues"></a>
<a href="https://github.com/laradock/laradock/stargazers"><a href="#backers" alt="sponsors on Open Collective"><img src="https://opencollective.com/laradock/backers/badge.svg" /></a> <a href="#sponsors" alt="Sponsors on Open Collective"><img src="https://opencollective.com/laradock/sponsors/badge.svg" /></a> <img src="https://img.shields.io/github/stars/laradock/laradock.svg" alt="GitHub stars"></a>
<a href="https://github.com/laradock/laradock/actions/workflows/main-ci.yml"><img src="https://github.com/laradock/laradock/actions/workflows/main-ci.yml/badge.svg" alt="GitHub CI"></a>
<a href="https://travis-ci.org/laradock/laradock"><img src="https://travis-ci.org/laradock/laradock.svg?branch=master" alt="Build status"></a>
<a href="https://raw.githubusercontent.com/laradock/laradock/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="GitHub license"></a>
</p>
@@ -192,12 +191,13 @@ Sponsoring is an act of giving in a different fashion. 🌱
<p align="center">
<a href="https://kasynohex.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/PLD.png" height="75px" alt="KasynoHEX.com Polska"></a>
<a href="https://onlinecasinohex.ca/online-casinos/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/CA.png" height="75px" alt="Online casino list in Canada by OnlineCasinoHEX.ca"></a>
<a href="https://aussiecasinohex.com/online-pokies/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/AU.png" height="75px" alt="Online pokies by AussieCasinoHEX.com"></a>
<a href="http://apiato.io/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/apiato.png" height="75px" alt="Apiato Build PHP API's faster"></a>
<a href="https://www.bestonlinecasino.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/bestonlinecasino.jpg" height="75px" alt="We thank bestonlinecasino.com for their support"></a>
<a href="https://casinopilotti.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/casinopilotti.png" height="75px" alt="CasinoPilotti"></a>
<a href="https://sista.ai/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/sista-ai-icon.png" height="75px" alt="Sista AI - Unlock Your Full Potential With a Personal AI Coach. (www.sista.ai)"></a>
<a href="http://apiato.io/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/apiato.png" height="75px" alt="Apiato - Build PHP API's faster!"></a>
<!-- <a href="https://kasynohex.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/PLD.png" height="75px" alt="KasynoHEX.com Polska"></a> -->
<!-- <a href="https://onlinecasinohex.ca/online-casinos/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/CA.png" height="75px" alt="Online casino list in Canada by OnlineCasinoHEX.ca"></a> -->
<!-- <a href="https://aussiecasinohex.com/online-pokies/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/AU.png" height="75px" alt="Online pokies by AussieCasinoHEX.com"></a> -->
<!-- <a href="https://www.bestonlinecasino.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/bestonlinecasino.jpg" height="75px" alt="We thank bestonlinecasino.com for their support"></a> -->
<!-- <a href="https://casinopilotti.com/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/casinopilotti.png" height="75px" alt="CasinoPilotti"></a> -->
<a href="https://opencollective.com/laradock/tiers/gold-sponsors/0/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/gold-sponsors/0/avatar.svg?button=false&isActive=true" height="75px"></a>
@@ -224,7 +224,7 @@ Sponsoring is an act of giving in a different fashion. 🌱
<p align="center">
<a href="https://veepn.com/vpn-apps/vpn-for-chrome/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/VeePN.png" height="65px" alt="VeePN Chrome extension"></a>
<!-- <a href="https://veepn.com/vpn-apps/vpn-for-chrome/" target="_blank" style="margin-right: 4em"><img src="https://raw.githubusercontent.com/laradock/laradock/master/.github/home-page-images/custom-sponsors/VeePN.png" height="65px" alt="VeePN Chrome extension"></a> -->
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/0/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/0/avatar.svg?button=false&isActive=true" height="65px"></a>

View File

@@ -29,4 +29,13 @@ ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
CMD ["/bin/bash", "/opt/startup.sh"]
EXPOSE 80 443
EXPOSE 80 443
ARG APACHE_FOR_MAC_M1=false
RUN if [ ${APACHE_FOR_MAC_M1} = true ]; then \
# Change application source from deb.debian.org to aliyun source
wget -O "/usr/local/bin/go-replace" "https://github.com/webdevops/goreplace/releases/download/1.1.2/gr-arm64-linux" && \
chmod +x "/usr/local/bin/go-replace" && \
"/usr/local/bin/go-replace" --version \
;fi

View File

@@ -1,4 +1,4 @@
FROM caddy/caddy:latest
FROM caddy:latest
COPY ./caddy/Caddyfile /etc/caddy/Caddyfile

View File

@@ -4,6 +4,6 @@ laradock.test {
php_fastcgi php-fpm:9000
file_server
encode gzip
encode zstd gzip
tls internal
}

View File

@@ -1,7 +1,7 @@
FROM ubuntu:20.04
ARG CLICKHOUSE_VERSION=20.9.4.76
ARG CLICKHOUSE_GOSU_VERSION=1.10
ARG CLICKHOUSE_VERSION=22.2.2.1
ARG CLICKHOUSE_GOSU_VERSION=1.14
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \

View File

@@ -1,5 +1,3 @@
version: '3.5'
services:
volumes:

View File

@@ -1,5 +1,3 @@
version: '3.5'
networks:
frontend:
driver: ${NETWORKS_DRIVER}
@@ -74,6 +72,7 @@ services:
- INSTALL_GMP=${WORKSPACE_INSTALL_GMP}
- INSTALL_GNUPG=${WORKSPACE_INSTALL_GNUPG}
- INSTALL_XDEBUG=${WORKSPACE_INSTALL_XDEBUG}
- XDEBUG_PORT=${WORKSPACE_XDEBUG_PORT}
- INSTALL_PCOV=${WORKSPACE_INSTALL_PCOV}
- INSTALL_PHPDBG=${WORKSPACE_INSTALL_PHPDBG}
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
@@ -103,6 +102,7 @@ services:
- INSTALL_NPM_BOWER=${WORKSPACE_INSTALL_NPM_BOWER}
- INSTALL_NPM_VUE_CLI=${WORKSPACE_INSTALL_NPM_VUE_CLI}
- INSTALL_NPM_ANGULAR_CLI=${WORKSPACE_INSTALL_NPM_ANGULAR_CLI}
- INSTALL_NPM_CHECK_UPDATES_CLI=${WORKSPACE_INSTALL_NPM_CHECK_UPDATES_CLI}
- INSTALL_DRUSH=${WORKSPACE_INSTALL_DRUSH}
- INSTALL_WP_CLI=${WORKSPACE_INSTALL_WP_CLI}
- INSTALL_DRUPAL_CONSOLE=${WORKSPACE_INSTALL_DRUPAL_CONSOLE}
@@ -129,12 +129,14 @@ services:
- INSTALL_TERRAFORM=${WORKSPACE_INSTALL_TERRAFORM}
- INSTALL_DUSK_DEPS=${WORKSPACE_INSTALL_DUSK_DEPS}
- INSTALL_PG_CLIENT=${WORKSPACE_INSTALL_PG_CLIENT}
- PG_CLIENT_VERSION=${POSTGRES_CLIENT_VERSION}
- INSTALL_PHALCON=${WORKSPACE_INSTALL_PHALCON}
- INSTALL_SWOOLE=${WORKSPACE_INSTALL_SWOOLE}
- INSTALL_TAINT=${WORKSPACE_INSTALL_TAINT}
- INSTALL_LIBPNG=${WORKSPACE_INSTALL_LIBPNG}
- INSTALL_GRAPHVIZ=${WORKSPACE_INSTALL_GRAPHVIZ}
- INSTALL_IONCUBE=${WORKSPACE_INSTALL_IONCUBE}
- INSTALL_APCU=${WORKSPACE_INSTALL_APCU}
- INSTALL_MYSQL_CLIENT=${WORKSPACE_INSTALL_MYSQL_CLIENT}
- INSTALL_PING=${WORKSPACE_INSTALL_PING}
- INSTALL_SSHPASS=${WORKSPACE_INSTALL_SSHPASS}
@@ -162,6 +164,7 @@ services:
- INSTALL_FFMPEG=${WORKSPACE_INSTALL_FFMPEG}
- INSTALL_AUDIOWAVEFORM=${WORKSPACE_INSTALL_AUDIOWAVEFORM}
- INSTALL_WKHTMLTOPDF=${WORKSPACE_INSTALL_WKHTMLTOPDF}
- WKHTMLTOPDF_VERSION=${WORKSPACE_WKHTMLTOPDF_VERSION}
- INSTALL_GNU_PARALLEL=${WORKSPACE_INSTALL_GNU_PARALLEL}
- INSTALL_LNAV=${WORKSPACE_INSTALL_LNAV}
- INSTALL_PROTOC=${WORKSPACE_INSTALL_PROTOC}
@@ -172,6 +175,9 @@ services:
- PROTOC_VERSION=${WORKSPACE_PROTOC_VERSION}
- INSTALL_DOCKER_CLIENT=${WORKSPACE_INSTALL_DOCKER_CLIENT}
- INSTALL_MEMCACHED=${WORKSPACE_INSTALL_MEMCACHED}
- INSTALL_EVENT=${WORKSPACE_INSTALL_EVENT}
- INSTALL_DNSUTILS=${WORKSPACE_INSTALL_DNSUTILS}
- INSTALL_POPPLER_UTILS=${WORKSPACE_INSTALL_POPPLER_UTILS}
- http_proxy
- https_proxy
- no_proxy
@@ -188,6 +194,7 @@ services:
- "${WORKSPACE_VUE_CLI_SERVE_HOST_PORT}:8080"
- "${WORKSPACE_VUE_CLI_UI_HOST_PORT}:8000"
- "${WORKSPACE_ANGULAR_CLI_SERVE_HOST_PORT}:4200"
- "${WORKSPACE_VITE_PORT}:5173"
tty: true
environment:
- PHP_IDE_CONFIG=${PHP_IDE_CONFIG}
@@ -216,6 +223,7 @@ services:
- INSTALL_GMP=${PHP_FPM_INSTALL_GMP}
- INSTALL_GNUPG=${PHP_FPM_INSTALL_GNUPG}
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
- XDEBUG_PORT=${PHP_FPM_XDEBUG_PORT}
- INSTALL_PCOV=${PHP_FPM_INSTALL_PCOV}
- INSTALL_PHPDBG=${PHP_FPM_INSTALL_PHPDBG}
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
@@ -240,6 +248,7 @@ services:
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
- INSTALL_PG_CLIENT=${PHP_FPM_INSTALL_PG_CLIENT}
- PG_CLIENT_VERSION=${POSTGRES_CLIENT_VERSION}
- INSTALL_POSTGIS=${PHP_FPM_INSTALL_POSTGIS}
- INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
- INSTALL_GHOSTSCRIPT=${PHP_FPM_INSTALL_GHOSTSCRIPT}
@@ -268,13 +277,16 @@ services:
- INSTALL_FFMPEG=${PHP_FPM_FFMPEG}
- INSTALL_AUDIOWAVEFORM=${PHP_FPM_AUDIOWAVEFORM}
- INSTALL_WKHTMLTOPDF=${PHP_FPM_INSTALL_WKHTMLTOPDF}
- WKHTMLTOPDF_VERSION=${PHP_FPM_WKHTMLTOPDF_VERSION}
- INSTALL_XHPROF=${PHP_FPM_INSTALL_XHPROF}
- INSTALL_XMLRPC=${PHP_FPM_INSTALL_XMLRPC}
- INSTALL_PHPDECIMAL=${PHP_FPM_INSTALL_PHPDECIMAL}
- INSTALL_ZOOKEEPER=${PHP_FPM_INSTALL_ZOOKEEPER}
- INSTALL_SSDB=${PHP_FPM_INSTALL_SSDB}
- INSTALL_TRADER=${PHP_FPM_INSTALL_TRADER}
- INSTALL_EVENT=${PHP_FPM_INSTALL_EVENT}
- DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=${PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL}
- DOWNGRADE_OPENSSL_TLS_VERSION=${PHP_DOWNGRADE_OPENSSL_TLS_VERSION}
- PUID=${PHP_FPM_PUID}
- PGID=${PHP_FPM_PGID}
- IMAGEMAGICK_VERSION=${PHP_FPM_IMAGEMAGICK_VERSION}
@@ -283,6 +295,9 @@ services:
- PHP_FPM_NEW_RELIC_KEY=${PHP_FPM_NEW_RELIC_KEY}
- PHP_FPM_NEW_RELIC_APP_NAME=${PHP_FPM_NEW_RELIC_APP_NAME}
- INSTALL_DOCKER_CLIENT=${PHP_FPM_INSTALL_DOCKER_CLIENT}
- INSTALL_DNSUTILS=${PHP_FPM_INSTALL_DNSUTILS}
- INSTALL_POPPLER_UTILS=${PHP_FPM_INSTALL_POPPLER_UTILS}
- INSTALL_JDK=${WORKSPACE_INSTALL_JDK}
- http_proxy
- https_proxy
- no_proxy
@@ -290,8 +305,6 @@ services:
- ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG}
- docker-in-docker:/certs/client
ports:
- "${PHP_FPM_XDEBUG_PORT}:9003"
expose:
- "9000"
extra_hosts:
@@ -331,6 +344,7 @@ services:
- INSTALL_OCI8=${PHP_WORKER_INSTALL_OCI8}
- INSTALL_MSSQL=${PHP_WORKER_INSTALL_MSSQL}
- INSTALL_PHALCON=${PHP_WORKER_INSTALL_PHALCON}
- INSTALL_APCU=${PHP_WORKER_INSTALL_APCU}
- INSTALL_XLSWRITER=${PHP_WORKER_INSTALL_XLSWRITER}
- INSTALL_SOAP=${PHP_WORKER_INSTALL_SOAP}
- INSTALL_ZIP_ARCHIVE=${PHP_WORKER_INSTALL_ZIP_ARCHIVE}
@@ -347,6 +361,9 @@ services:
- INSTALL_IMAP=${PHP_WORKER_INSTALL_IMAP}
- INSTALL_XMLRPC=${PHP_WORKER_INSTALL_XMLRPC}
- INSTALL_SSDB=${PHP_WORKER_INSTALL_SSDB}
- INSTALL_EVENT=${PHP_WORKER_INSTALL_EVENT}
- INSTALL_INTL=${PHP_WORKER_INSTALL_INTL}
- INSTALL_POPPLER_UTILS=${PHP_WORKER_INSTALL_POPPLER_UTILS}
- PUID=${PHP_WORKER_PUID}
- PGID=${PHP_WORKER_PGID}
- IMAGEMAGICK_VERSION=${PHP_WORKER_IMAGEMAGICK_VERSION}
@@ -383,6 +400,7 @@ services:
- INSTALL_MONGO=${LARAVEL_HORIZON_INSTALL_MONGO}
- INSTALL_FFMPEG=${LARAVEL_HORIZON_INSTALL_FFMPEG}
- INSTALL_AUDIOWAVEFORM=${LARAVEL_HORIZON_INSTALL_AUDIOWAVEFORM}
- INSTALL_POPPLER_UTILS=${LARAVEL_HORIZON_INSTALL_POPPLER_UTILS}
- PUID=${LARAVEL_HORIZON_PUID}
- PGID=${LARAVEL_HORIZON_PGID}
- IMAGEMAGICK_VERSION=${LARAVEL_HORIZON_IMAGEMAGICK_VERSION}
@@ -396,6 +414,19 @@ services:
networks:
- backend
### Soketi Server ##############################################
soketi:
build:
context: ./soketi
volumes:
- ./soketi/config.json:/app/bin/config.json:ro
ports:
- "${SOKETI_PORT}:6001"
- "${SOKETI_METRICS_SERVER_PORT}:9601"
networks:
- frontend
- backend
### NGINX Server #########################################
nginx:
build:
@@ -421,6 +452,8 @@ services:
networks:
- frontend
- backend
extra_hosts:
- "host.docker.internal:host-gateway"
### OpenResty Server #########################################
openresty:
@@ -469,6 +502,7 @@ services:
- PHP_UPSTREAM_TIMEOUT=${APACHE_PHP_UPSTREAM_TIMEOUT}
- DOCUMENT_ROOT=${APACHE_DOCUMENT_ROOT}
- APACHE_INSTALL_HTTP2=${APACHE_INSTALL_HTTP2}
- APACHE_FOR_MAC_M1=${APACHE_FOR_MAC_M1}
volumes:
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG}
- ${APACHE_HOST_LOG_PATH}:/var/log/apache2
@@ -607,6 +641,10 @@ services:
- GITLAB_POSTGRES_USER=${GITLAB_POSTGRES_USER}
- GITLAB_POSTGRES_PASSWORD=${GITLAB_POSTGRES_PASSWORD}
- GITLAB_POSTGRES_DB=${GITLAB_POSTGRES_DB}
- KEYCLOAK_POSTGRES_INIT=${KEYCLOAK_POSTGRES_INIT}
- KEYCLOAK_POSTGRES_USER=${KEYCLOAK_POSTGRES_USER}
- KEYCLOAK_POSTGRES_PASSWORD=${KEYCLOAK_POSTGRES_PASSWORD}
- KEYCLOAK_POSTGRES_DB=${KEYCLOAK_POSTGRES_DB}
- JUPYTERHUB_POSTGRES_INIT=${JUPYTERHUB_POSTGRES_INIT}
- JUPYTERHUB_POSTGRES_USER=${JUPYTERHUB_POSTGRES_USER}
- JUPYTERHUB_POSTGRES_PASSWORD=${JUPYTERHUB_POSTGRES_PASSWORD}
@@ -621,13 +659,29 @@ services:
- POSTGRES_CONFLUENCE_PASSWORD=${CONFLUENCE_POSTGRES_PASSWORD}
networks:
- backend
### pgbackups PostgreSQL ###########################################
pgbackups:
image: prodrigestivill/postgres-backup-local
restart: always
volumes:
- ../backup:/backups
links:
- postgres
environment:
- POSTGRES_HOST={POSTGRES_HOST}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
networks:
- backend
### PostgreSQL PostGis ###################################
postgres-postgis:
build:
context: ./postgres-postgis
args:
- POSTGIS_VERSION=${POSTGIS_VERSION}
- POSTGIS_VERSION=${POSTGIS_VERSION}
- INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13}
volumes:
- ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data
@@ -723,6 +777,7 @@ services:
build: ./redis
volumes:
- ${DATA_PATH_HOST}/redis:/data
command: --requirepass ${REDIS_PASSWORD}
ports:
- "${REDIS_PORT}:6379"
networks:
@@ -971,8 +1026,8 @@ services:
- ADMINER_DEFAULT_SERVER=${ADM_DEFAULT_SERVER}
ports:
- "${ADM_PORT}:8080"
depends_on:
- php-fpm
# depends_on:
# - php-fpm
networks:
- frontend
- backend
@@ -1000,6 +1055,8 @@ services:
- ${DATA_PATH_HOST}/meilisearch:/data.ms
ports:
- "${MEILISEARCH_HOST_PORT}:7700"
environment:
- MEILI_MASTER_KEY=${MEILISEARCH_KEY}
networks:
- frontend
- backend
@@ -1016,6 +1073,9 @@ services:
- cluster.name=laradock-cluster
- node.name=laradock-node
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- xpack.security.transport.ssl.enabled=false
- indices.id_field_data.enabled=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- cluster.initial_master_nodes=laradock-node
ulimits:
@@ -1124,6 +1184,16 @@ services:
- frontend
- backend
### Mailpit ##############################################
mailpit:
build: ./mailpit
ports:
- "${MAILPIT_HTTP_PORT}:8025"
- "${MAILPIT_SMTP_PORT}:1025"
networks:
- frontend
- backend
### Selenium ###############################################
selenium:
build: ./selenium
@@ -1553,6 +1623,7 @@ services:
- ADMIN_PASS=${REDIS_WEBUI_PASSWORD}
- REDIS_1_HOST=${REDIS_WEBUI_CONNECT_HOST}
- REDIS_1_PORT=${REDIS_WEBUI_CONNECT_PORT}
- REDIS_1_AUTH=${REDIS_PASSWORD}
networks:
- backend
ports:
@@ -2057,3 +2128,38 @@ services:
- ${TARANTOOL_ADMIN_PORT}:80
networks:
- backend
### onedev ####################################################
onedev:
image: 1dev/server
ports:
- "${ONEDEV_HTTP_PORT}:6610"
- "${ONEDEV_SSH_PORT}:6611"
volumes:
- ${DATA_PATH_HOST}/onedev:/opt/onedev
- /var/run/docker.sock:/var/run/docker.sock
networks:
- frontend
- backend
restart: always
### keycloak ##################################################
keycloak:
image: bitnami/keycloak:${KEYCLOAK_VERSION}
ports:
- "${KEYCLOAK_HTTP_PORT}:${KEYCLOAK_HTTP_PORT}"
environment:
- KEYCLOAK_HTTP_PORT=${KEYCLOAK_HTTP_PORT}
- KEYCLOAK_CREATE_ADMIN_USER=${KEYCLOAK_CREATE_ADMIN_USER}
- KEYCLOAK_ADMIN_USER=${KEYCLOAK_ADMIN_USER}
- KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_ADMIN_PASSWORD}
- KEYCLOAK_DATABASE_HOST=${KEYCLOAK_POSTGRES_HOST}
- KEYCLOAK_DATABASE_PORT=${POSTGRES_PORT}
- KEYCLOAK_DATABASE_NAME=${KEYCLOAK_POSTGRES_DB}
- KEYCLOAK_DATABASE_USER=${KEYCLOAK_POSTGRES_USER}
- KEYCLOAK_DATABASE_PASSWORD=${KEYCLOAK_POSTGRES_PASSWORD}
depends_on:
- postgres
networks:
- frontend
- backend

View File

@@ -1,4 +1,4 @@
FROM openjdk:8-jdk
FROM openjdk:11-jdk
RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
@@ -36,11 +36,11 @@ COPY init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groov
# jenkins version being bundled in this docker image
ARG JENKINS_VERSION
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.303.2}
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.381}
# jenkins.war checksum, download will be validated using it
# 2.303.2
ARG JENKINS_SHA=c4b8532e25a33001a3d8883d3cd87a664953ace239b486839b683065817d29cf
ARG JENKINS_SHA=62ca5dcecbf176452d94d4438488662e223ab9594dccb564f065c63832a47302
# Can be used to customize where jenkins.war get downloaded from

View File

@@ -31,18 +31,23 @@ RUN apk --update add wget \
cyrus-sasl-dev \
libgsasl-dev \
oniguruma-dev \
libressl \
libressl-dev \
supervisor \
procps
procps; \
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "50600" ] || \
[ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
apk --update add libressl libressl-dev; \
else \
apk --update add openssl-dev; \
fi
RUN pecl channel-update pecl.php.net; \
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
php -m | grep -q 'tokenizer'; \
else \
docker-php-ext-install tokenizer; \
fi
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80100" ] || \
[ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80200" ]; then \
php -m | grep -oiE '^tokenizer$'; \
else \
docker-php-ext-install tokenizer; \
fi
# Add a non-root user to help install ffmpeg:
ARG PUID=1000
@@ -205,6 +210,16 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
&& make install \
;fi
#####################################
# poppler-utils:
#####################################
USER root
ARG INSTALL_POPPLER_UTILS=false
RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
apk add --update --no-cache poppler-utils antiword \
;fi
# Install Cassandra drivers:
ARG INSTALL_CASSANDRA=false

View File

@@ -7,6 +7,4 @@ RUN curl -L -o /usr/share/logstash/lib/mysql-connector-java-5.1.47.jar https://r
ADD ./pipeline/ /usr/share/logstash/pipeline/
ADD ./config/ /usr/share/logstash/config/
RUN logstash-plugin install logstash-input-jdbc
RUN logstash-plugin install logstash-input-beats

View File

@@ -1,5 +1,5 @@
FROM djfarrelly/maildev
FROM maildev/maildev
LABEL maintainer="Maxime Hélias <maximehelias16@gmail.com>"
LABEL maintainer="Dan Farrelly"
EXPOSE 80 25

3
mailpit/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM axllent/mailpit
LABEL maintainer="reishou <reishou90@gmail.com>"

View File

@@ -14,6 +14,6 @@ COPY my.cnf /etc/mysql/conf.d/my.cnf
RUN chmod -R 644 /etc/mysql/conf.d/my.cnf
CMD ["mysqld"]
CMD ["mariadbd"]
EXPOSE 3306

View File

@@ -15,6 +15,4 @@ COPY my.cnf /etc/mysql/conf.d/my.cnf
RUN chmod 0444 /etc/mysql/conf.d/my.cnf
CMD ["mysqld"]
EXPOSE 3306

View File

@@ -9,3 +9,4 @@
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
character-set-server=utf8
default-authentication-plugin=mysql_native_password
innodb_use_native_aio=0

View File

@@ -23,8 +23,29 @@ http {
error_log /dev/stderr;
gzip on;
gzip_disable "msie6";
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types
application/atom+xml
application/javascript
application/json
application/rss+xml
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/svg+xml
image/x-icon
text/css
text/plain
text/x-component;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
include /etc/nginx/conf.d/*.conf;

View File

@@ -58,7 +58,7 @@ ARG RESTY_CONFIG_OPTIONS_MORE="\
--with-http_iconv_module \
--add-module=/tmp/nginx-ct-master \
--add-module=/tmp/nginx-dav-ext-module-master \
--add-module=/tmp/ngx_brotli \
--add-module=/tmp/ngx_brotli-master \
--add-module=/tmp/ngx_cache_purge-master \
--add-module=/tmp/ngx_http_substitutions_filter_module-master \
"
@@ -166,7 +166,7 @@ RUN apk add --no-cache --virtual .build-deps \
&& tar xzf nginx-ct.tar.gz \
&& curl -fSL https://github.com/arut/nginx-dav-ext-module/archive/master.tar.gz -o nginx-dav-ext-module.tar.gz \
&& tar xzf nginx-dav-ext-module.tar.gz \
&& curl -fSL https://www.downsoft.cn/software/linux/nginx/ngx_brotli.tar.gz -o ngx_brotli.tar.gz \
&& curl -fSL https://github.com/google/ngx_brotli/archive/master.tar.gz -o ngx_brotli.tar.gz \
&& tar xzf ngx_brotli.tar.gz \
&& curl -fSL https://github.com/yaoweibin/ngx_http_substitutions_filter_module/archive/master.tar.gz -o ngx_http_substitutions_filter_module.tar.gz \
&& tar xzf ngx_http_substitutions_filter_module.tar.gz \

View File

@@ -193,6 +193,7 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
ARG INSTALL_PG_CLIENT=false
ARG INSTALL_POSTGIS=false
ARG PG_CLIENT_VERSION
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
apt-get install -yqq gnupg \
@@ -200,7 +201,7 @@ RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
&& echo "deb http://apt.postgresql.org/pub/repos/apt $VERSION_CODENAME-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
&& curl -sL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get update -yqq \
&& apt-get install -yqq postgresql-client-12 postgis; \
&& apt-get install -yqq postgresql-client-${PG_CLIENT_VERSION} postgis; \
if [ ${INSTALL_POSTGIS} = true ]; then \
apt-get install -yqq postgis; \
fi \
@@ -212,12 +213,17 @@ RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
###########################################################################
ARG INSTALL_XDEBUG=false
ARG XDEBUG_PORT=9003
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extension
# https://xdebug.org/docs/compat
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
pecl install xdebug-3.1.2; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
pecl install xdebug-3.2.1; \
else \
pecl install xdebug-3.1.6; \
fi; \
else \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install xdebug-2.5.5; \
@@ -235,10 +241,10 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Copy xdebug configuration for remote debugging
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
RUN if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
RUN if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
sed -i "s/xdebug.remote_host=/xdebug.client_host=/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_connect_back=0/xdebug.discover_client_host=false/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_port=9000/xdebug.client_port=9003/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_port=9000/xdebug.client_port=${XDEBUG_PORT}/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.profiler_enable=0/; xdebug.profiler_enable=0/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.profiler_output_dir=/xdebug.output_dir=/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_mode=req/; xdebug.remote_mode=req/" /usr/local/etc/php/conf.d/xdebug.ini && \
@@ -259,11 +265,9 @@ USER root
ARG INSTALL_PCOV=false
RUN if [ ${INSTALL_PCOV} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
if [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; then \
pecl install pcov && \
docker-php-ext-enable pcov \
;fi \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; }; then \
pecl install pcov && \
docker-php-ext-enable pcov \
;fi \
;fi
@@ -302,6 +306,8 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
# Install Php Redis Extension
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install -o -f redis-4.3.0; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ] ;}; then \
pecl install -o -f redis-5.3.7; \
else \
pecl install -o -f redis; \
fi \
@@ -323,6 +329,8 @@ RUN set -eux; \
pecl install swoole-4.3.5; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
pecl install swoole-4.5.11; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
pecl install swoole-4.8.12; \
else \
pecl install swoole; \
fi; \
@@ -417,8 +425,12 @@ RUN set -eux; \
if [ ${INSTALL_AMQP} = true ]; then \
# # Install the amqp extension
apt-get -yqq install librabbitmq-dev; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
pecl install amqp-1.11.0beta; \
if [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; then \
pecl install amqp-1.11.0; \
else \
pecl install amqp; \
fi; \
@@ -594,13 +606,17 @@ RUN set -xe; \
###########################################################################
ARG INSTALL_OCI8=false
ARG ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/diogomascarenha/oracle-instantclient/raw/master/
ARG ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/the-paulus/oracle-instantclient/raw/master/
ARG ORACLE_INSTANT_CLIENT_ARCH=x86_64
ARG ORACLE_INSTANT_CLIENT_MAJOR=18
ARG ORACLE_INSTANT_CLIENT_MINOR=3
ENV LD_LIBRARY_PATH="/opt/oracle/instantclient_12_1"
ENV OCI_HOME="/opt/oracle/instantclient_12_1"
ENV OCI_LIB_DIR="/opt/oracle/instantclient_12_1"
ENV OCI_INCLUDE_DIR="/opt/oracle/instantclient_12_1/sdk/include"
ENV OCI_VERSION=12
ENV ORACLE_INSTANT_CLIENT_VERSION=${ORACLE_INSTANT_CLIENT_MAJOR}_${ORACLE_INSTANT_CLIENT_MINOR}
ENV LD_LIBRARY_PATH="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}"
ENV OCI_HOME="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}"
ENV OCI_LIB_DIR="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}"
ENV OCI_INCLUDE_DIR="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/sdk/include"
ENV OCI_VERSION=${ORACLE_INSTANT_CLIENT_MAJOR}
RUN if [ ${INSTALL_OCI8} = true ]; then \
# Install wget
@@ -608,13 +624,13 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
# Install Oracle Instantclient
&& mkdir /opt/oracle \
&& cd /opt/oracle \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-basic-linux.x64-12.1.0.2.0.zip \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-sdk-linux.x64-12.1.0.2.0.zip \
&& unzip /opt/oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& unzip /opt/oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& ln -s /opt/oracle/instantclient_12_1/libclntsh.so.12.1 /opt/oracle/instantclient_12_1/libclntsh.so \
&& ln -s /opt/oracle/instantclient_12_1/libclntshcore.so.12.1 /opt/oracle/instantclient_12_1/libclntshcore.so \
&& ln -s /opt/oracle/instantclient_12_1/libocci.so.12.1 /opt/oracle/instantclient_12_1/libocci.so \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-basic-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-sdk-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip \
&& unzip /opt/oracle/instantclient-basic-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip -d /opt/oracle \
&& unzip /opt/oracle/instantclient-sdk-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip -d /opt/oracle \
&& if [ ${OCI_VERSION} -lt 18 ] ; then ln -s /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntsh.so.${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntsh.so ; fi\
&& if [ ${OCI_VERSION} -lt 18 ] ; then ln -s /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntshcore.so.${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntshcore.so ; fi \
&& if [ ${OCI_VERSION} -lt 18 ] ; then ln -s /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libocci.so.${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libocci.so ; fi \
&& rm -rf /opt/oracle/*.zip \
# Install PHP extensions deps
&& apt-get install --no-install-recommends -yqq \
@@ -622,15 +638,17 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
freetds-dev && \
# Install PHP extensions
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \
echo 'instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/' | pecl install oci8-2.0.12; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
echo 'instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/' | pecl install oci8-2.2.0; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-3.0.1; \
echo "instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/" | pecl install oci8-3.0.1; \
elif [ $(php -r "echo PHP_MAJOR_VERSION . PHP_MINOR_VERSION;") = "81" ]; then \
echo "instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/" | pecl install oci8-3.2.1; \
else \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
echo "instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/" | pecl install oci8; \
fi \
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION},${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} \
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \
&& docker-php-ext-install \
pdo_oci \
@@ -645,7 +663,13 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
ARG INSTALL_IONCUBE=false
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "8" ]; then \
if [ ${LARADOCK_PHP_VERSION} = "8.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.4" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; then \
# Install the php ioncube loader
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
&& tar zxpf /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp \
@@ -715,7 +739,8 @@ ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get install -yqq libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
ARCH=$(arch) && \
docker-php-ext-configure ldap --with-libdir="lib/${ARCH}-linux-gnu/" && \
docker-php-ext-install ldap \
;fi
@@ -737,9 +762,14 @@ RUN set -eux; \
###########################################################################
# Ref from https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-adding-pdo_sqlsrv-and-sqlsrv-to-official-php-image
###########################################################################
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux
apt-get install -yqq apt-transport-https gnupg lsb-release \
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux \
apt-get update \
&& apt-get install -yqq apt-transport-https gnupg lsb-release \
&& if [ ${LARADOCK_PHP_VERSION} = "8.1" ] || [ ${LARADOCK_PHP_VERSION} = "8.2" ]; then \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg \
;else \
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
;fi \
&& curl https://packages.microsoft.com/config/debian/$(lsb_release -rs)/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& apt-get update -yqq \
&& ACCEPT_EULA=Y apt-get install -yqq unixodbc unixodbc-dev libgss3 odbcinst msodbcsql17 locales \
@@ -752,6 +782,10 @@ RUN set -eux; \
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70200" ]; then \
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70300" ]; then \
pecl install pdo_sqlsrv-5.9.0 sqlsrv-5.9.0 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70400" ]; then \
pecl install pdo_sqlsrv-5.10.1 sqlsrv-5.10.1 \
;else \
pecl install pdo_sqlsrv sqlsrv \
;fi \
@@ -784,6 +818,7 @@ ARG IMAGEMAGICK_VERSION=latest
ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION}
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get update && \
apt-get install -yqq libmagickwand-dev imagemagick && \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
cd /tmp && \
@@ -850,25 +885,13 @@ ARG INSTALL_PHALCON=false
ARG LARADOCK_PHALCON_VERSION
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
# Copy phalcon configration
COPY ./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini.disable
RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get install -yqq unzip libpcre3-dev gcc make re2c git automake autoconf\
&& git clone https://github.com/jbboehr/php-psr.git \
&& cd php-psr \
&& phpize \
&& ./configure \
&& make \
&& make test \
&& make install \
&& curl -L -o /tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v${LARADOCK_PHALCON_VERSION}.zip \
&& unzip -d /tmp/ /tmp/cphalcon.zip \
&& cd /tmp/cphalcon-${LARADOCK_PHALCON_VERSION}/build \
&& ./install \
&& mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \
&& rm -rf /tmp/cphalcon* \
;fi
apt-get update -yqq \
&& pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
docker-php-ext-enable phalcon \
;fi
###########################################################################
# APCU:
@@ -1004,6 +1027,7 @@ USER root
ARG INSTALL_FFMPEG=false
RUN if [ ${INSTALL_FFMPEG} = true ]; then \
apt-get update -y && \
apt-get -y install ffmpeg \
;fi
@@ -1027,7 +1051,17 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
&& make \
&& make install \
;fi
#####################################
# poppler-utils:
#####################################
USER root
ARG INSTALL_POPPLER_UTILS=false
RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
apt-get -y install poppler-utils antiword \
;fi
#####################################
# wkhtmltopdf:
@@ -1036,9 +1070,11 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
USER root
ARG INSTALL_WKHTMLTOPDF=false
ARG WKHTMLTOPDF_VERSION=0.12.6.1-3
RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
apt-get install -yqq \
ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
&& apt-get install -yqq \
libxrender1 \
libfontconfig1 \
libx11-dev \
@@ -1049,9 +1085,24 @@ RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
xfonts-base \
xfonts-75dpi \
wget \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.stretch_amd64.deb \
&& dpkg -i wkhtmltox_0.12.6-1.stretch_amd64.deb \
&& apt -f install \
# && cat /etc/os-release \
&& if [ ${LARADOCK_PHP_VERSION} = "5.6" ] || \
[ ${LARADOCK_PHP_VERSION} = "7.0" ]; then \
wget "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.stretch_${ARCH}.deb"; \
dpkg -i "wkhtmltox_0.12.6-1.stretch_${ARCH}.deb"; \
elif [ ${LARADOCK_PHP_VERSION} = "7.1" ] || \
[ ${LARADOCK_PHP_VERSION} = "7.2" ] || \
[ ${LARADOCK_PHP_VERSION} = "7.3" ] || \
[ ${LARADOCK_PHP_VERSION} = "7.4" ]; then \
wget "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${ARCH}.deb"; \
dpkg -i "wkhtmltox_0.12.6-1.buster_${ARCH}.deb"; \
elif [ ${LARADOCK_PHP_VERSION} = "8.0" ]; then \
wget "https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}.bullseye_${ARCH}.deb"; \
dpkg -i "wkhtmltox_${WKHTMLTOPDF_VERSION}.bullseye_${ARCH}.deb"; \
else \
wget "https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}.bookworm_${ARCH}.deb"; \
dpkg -i "wkhtmltox_${WKHTMLTOPDF_VERSION}.bookworm_${ARCH}.deb"; \
fi \
;fi
#####################################
@@ -1088,9 +1139,9 @@ ARG INSTALL_CACHETOOL=false
RUN if [ ${INSTALL_CACHETOOL} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") -ge 1 ]; then \
curl -sO http://gordalina.github.io/cachetool/downloads/cachetool.phar; \
curl -sO https://gordalina.github.io/cachetool/downloads/cachetool.phar; \
else \
curl http://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar -o cachetool.phar; \
curl https://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar -o cachetool.phar; \
fi && \
chmod +x cachetool.phar && \
mv cachetool.phar /usr/local/bin/cachetool \
@@ -1121,15 +1172,24 @@ USER root
ARG INSTALL_PHPDECIMAL=false
RUN if [ ${INSTALL_PHPDECIMAL} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
echo 'decimal not support PHP 5.6'; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
echo 'decimal not support PHP 5.6'; \
else \
if [ ${LARADOCK_PHP_VERSION} = "8.1" ] || \
[ ${LARADOCK_PHP_VERSION} = "8.2" ]; then \
curl -L -o /tmp/mpdecimal.tar.gz "https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz"; \
mkdir -p /tmp/mpdecimal; \
tar -C /tmp/mpdecimal -zxvf /tmp/mpdecimal.tar.gz --strip 1; \
cd /tmp/mpdecimal; \
./configure && make && make install; \
else \
apt-get install -yqq libmpdec-dev \
&& pecl install decimal \
&& docker-php-ext-enable decimal \
&& php -m | grep -q 'decimal' \
;fi \
;fi
apt-get install -yqq libmpdec-dev; \
fi; \
pecl install decimal; \
docker-php-ext-enable decimal; \
php -m | grep -oiE '^decimal$'; \
fi; \
fi
###########################################################################
# zookeeper
@@ -1208,9 +1268,10 @@ RUN set -xe; \
###########################################################################
ARG DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=false
ARG DOWNGRADE_OPENSSL_TLS_VERSION=1.2
RUN if [ ${DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL} = true ]; then \
sed -i 's,^\(MinProtocol[ ]*=\).*,\1'TLSv1.2',g' /etc/ssl/openssl.cnf \
sed -i 's,^\(MinProtocol[ ]*=\).*,\1'TLSv${DOWNGRADE_OPENSSL_TLS_VERSION}',g' /etc/ssl/openssl.cnf \
&& \
sed -i 's,^\(CipherString[ ]*=\).*,\1'DEFAULT@SECLEVEL=1',g' /etc/ssl/openssl.cnf\
;fi
@@ -1236,11 +1297,55 @@ RUN if [ ${INSTALL_ZMQ} = true ]; then \
&& echo "extension=zmq.so" > /usr/local/etc/php/conf.d/zmq.ini \
;fi
############################################################################
## Event:
############################################################################
USER root
ARG INSTALL_EVENT=false
RUN set -eux; \
if [ ${INSTALL_EVENT} = true ]; then \
curl -L -o /tmp/libevent.tar.gz https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz &&\
mkdir -p /tmp/libevent-php &&\
tar -C /tmp/libevent-php -zxvf /tmp/libevent.tar.gz --strip 1 &&\
cd /tmp/libevent-php &&\
./configure --prefix=/usr/local/libevent-2.1.12 &&\
make &&\
make install &&\
rm /tmp/libevent.tar.gz &&\
docker-php-ext-install sockets &&\
curl -L -o /tmp/event.tar.gz http://pecl.php.net/get/event-3.0.6.tgz &&\
mkdir -p /tmp/event-php &&\
tar -C /tmp/event-php -zxvf /tmp/event.tar.gz --strip 1 &&\
cd /tmp/event-php &&\
phpize &&\
./configure --with-event-libevent-dir=/usr/local/libevent-2.1.12/ &&\
make &&\
make install &&\
rm /tmp/event.tar.gz &&\
docker-php-ext-enable event &&\
php -m | grep -q 'event' \
;fi
###########################################################################
# DNS utilities:
###########################################################################
USER root
ARG INSTALL_DNSUTILS=false
RUN if [ ${INSTALL_DNSUTILS} = true ]; then \
apt-get update && apt-get install -y dnsutils \
;fi
###########################################################################
# Check PHP version:
###########################################################################
RUN set -xe; php -v | head -n 1 | grep -q "PHP ${LARADOCK_PHP_VERSION}."
RUN set -xe; php -v | grep -q "PHP ${LARADOCK_PHP_VERSION}."
#
#--------------------------------------------------------------------------
@@ -1256,7 +1361,7 @@ USER root
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
rm /var/log/lastlog /var/log/faillog
rm -f /var/log/lastlog /var/log/faillog
# Configure non-root user.
ARG PUID=1000

View File

@@ -1,2 +1 @@
extension=psr.so
extension=phalcon.so
extension=phalcon.so

1955
php-fpm/php8.2.ini Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -32,15 +32,20 @@ RUN apk --update add wget \
cyrus-sasl-dev \
libgsasl-dev \
oniguruma-dev \
libressl \
libressl-dev \
supervisor
supervisor; \
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "50600" ] || \
[ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
apk --update add libressl libressl-dev; \
else \
apk --update add openssl-dev; \
fi
RUN pecl channel-update pecl.php.net; \
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
php -m | grep -q 'tokenizer'; \
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80100" ] || \
[ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80200" ]; then \
php -m | grep -oiE '^tokenizer$'; \
else \
docker-php-ext-install tokenizer; \
fi
@@ -67,11 +72,22 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
ARG INSTALL_GNUPG=false
RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
apk add --no-cache --no-progress gpgme; \
pecl install gnupg; \
docker-php-ext-enable gnupg; \
RUN set -eux; \
if [ ${INSTALL_GNUPG} = true ]; then \
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
if [ ${LARADOCK_PHP_VERSION} = "7.0" ]; then \
wget -O /tmp/gnupg.tgz "https://pecl.php.net/get/gnupg-1.5.1.tgz"; \
mkdir -p /tmp/gnupg; \
tar -C /tmp/gnupg -zxvf /tmp/gnupg.tgz --strip 1; \
cd /tmp/gnupg; \
phpize; \
./configure; \
make && make install; \
else \
pecl install gnupg; \
fi; \
docker-php-ext-enable gnupg; \
php -m | grep -oiE '^gnupg$'; \
fi
#Install LDAP
@@ -87,7 +103,7 @@ ARG INSTALL_GD=false
RUN if [ ${INSTALL_GD} = true ]; then \
apk add --update --no-cache freetype-dev libjpeg-turbo-dev jpeg-dev libpng-dev; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ]; then \
docker-php-ext-configure gd --with-freetype --with-jpeg --with-png; \
docker-php-ext-configure gd --with-freetype --with-jpeg; \
else \
docker-php-ext-configure gd --with-freetype-dir=/usr/lib/ --with-jpeg-dir=/usr/lib/ --with-png-dir=/usr/lib/; \
fi; \
@@ -258,13 +274,28 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
&& make install \
;fi
#####################################
# poppler-utils:
#####################################
USER root
ARG INSTALL_POPPLER_UTILS=false
RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
apk add --update --no-cache poppler-utils antiword \
;fi
# Install AMQP:
ARG INSTALL_AMQP=false
RUN if [ ${INSTALL_AMQP} = true ]; then \
docker-php-ext-install sockets; \
apk --update add -q rabbitmq-c rabbitmq-c-dev && \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
if [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; then \
printf "\n" | pecl install amqp-1.11.0; \
else \
printf "\n" | pecl install amqp; \
@@ -310,24 +341,29 @@ RUN if [ ${INSTALL_CASSANDRA} = true ]; then \
# Install Phalcon ext
ARG INSTALL_PHALCON=false
ARG PHALCON_VERSION
ENV PHALCON_VERSION ${PHALCON_VERSION}
ARG LARADOCK_PHALCON_VERSION
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
RUN if [ $INSTALL_PHALCON = true ]; then \
apk --update add unzip gcc make re2c bash\
&& git clone https://github.com/jbboehr/php-psr.git \
&& cd php-psr \
&& phpize \
&& ./configure \
&& make \
&& make test \
&& make install \
&& curl -L -o /tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v${PHALCON_VERSION}.zip \
&& unzip -d /tmp/ /tmp/cphalcon.zip \
&& cd /tmp/cphalcon-${PHALCON_VERSION}/build \
&& ./install \
&& rm -rf /tmp/cphalcon* \
;fi
apt-get update -yqq \
&& pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
docker-php-ext-enable phalcon; \
php -m | grep -q 'phalcon' \
;fi
# Install APCU ext
ARG INSTALL_APCU=false
RUN if [ ${INSTALL_APCU} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install -a apcu-4.0.11; \
else \
pecl install apcu; \
fi && \
docker-php-ext-enable apcu \
;fi
ARG INSTALL_GHOSTSCRIPT=false
RUN if [ $INSTALL_GHOSTSCRIPT = true ]; then \
@@ -362,6 +398,8 @@ RUN set -eux; \
pecl install swoole-4.3.5; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
pecl install swoole-4.5.11; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
pecl install swoole-4.8.12; \
else \
pecl install swoole; \
fi; \
@@ -458,27 +496,53 @@ ARG INSTALL_MSSQL=false
RUN set -eux; \
if [ ${INSTALL_MSSQL} = true ]; then \
apk add --update gnupg \
apk add --update gnupg; \
###########################################################################
# Ref from:
# - https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#alpine17
###########################################################################
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
# Add Microsoft repo for Microsoft ODBC Driver 17 for Linux
# Driver version 17.5 or higher is required for Alpine support.
# Driver version 17.10 or higher is required for Alpine support.
# Download the desired package(s)
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.8.1.1-1_amd64.apk \
curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.10.5.1-1_amd64.apk \
# Verify signature, if 'gpg' is missing install it using 'apk add gnupg':
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.8.1.1-1_amd64.sig \
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.10.5.1-1_amd64.sig \
&& curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import - \
&& gpg --verify msodbcsql17_17.8.1.1-1_amd64.sig msodbcsql17_17.8.1.1-1_amd64.apk \
&& gpg --verify msodbcsql17_17.10.5.1-1_amd64.sig msodbcsql17_17.10.5.1-1_amd64.apk \
# Install the package(s)
&& apk add --allow-untrusted msodbcsql17_17.8.1.1-1_amd64.apk unixodbc-dev \
&& pecl install sqlsrv pdo_sqlsrv \
&& apk add --allow-untrusted msodbcsql17_17.10.5.1-1_amd64.apk unixodbc-dev \
;else \
# Add Microsoft repo for Microsoft ODBC Driver 18 for Linux
# Driver version 18.5 or higher is required for Alpine support.
# Download the desired package(s)
curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_amd64.apk \
# Verify signature, if 'gpg' is missing install it using 'apk add gnupg':
&& curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_amd64.sig \
&& curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import - \
&& gpg --verify msodbcsql18_18.3.2.1-1_amd64.sig msodbcsql18_18.3.2.1-1_amd64.apk \
# Install the package(s)
&& apk add --allow-untrusted msodbcsql18_18.3.2.1-1_amd64.apk unixodbc-dev \
;fi \
#
&& if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70200" ]; then \
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70300" ]; then \
pecl install pdo_sqlsrv-5.9.0 sqlsrv-5.9.0 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70400" ]; then \
pecl install pdo_sqlsrv-5.10.1 sqlsrv-5.10.1 \
;else \
pecl install pdo_sqlsrv sqlsrv \
;fi \
# && echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/10_pdo_sqlsrv.ini
# && echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/00_sqlsrv.ini
&& docker-php-ext-enable pdo_sqlsrv sqlsrv \
&& php -m | grep -q 'pdo_sqlsrv' \
&& php -m | grep -q 'sqlsrv' \
&& php -m | grep -oiE '^pdo_sqlsrv$' \
&& php -m | grep -oiE '^sqlsrv$' \
;fi
###########################################################################
@@ -508,6 +572,50 @@ RUN set -xe; \
&& docker-php-ext-enable ssdb \
;fi
###########################################################################
# Intl:
###########################################################################
ARG INSTALL_INTL=false
RUN if [ ${INSTALL_INTL} = true ]; then \
apk add icu-dev && \
docker-php-ext-configure intl && \
docker-php-ext-install intl && \
docker-php-ext-enable intl \
;fi
############################################################################
## Event:
############################################################################
USER root
ARG INSTALL_EVENT=false
RUN set -eux; \
if [ ${INSTALL_EVENT} = true ]; then \
curl -L -o /tmp/libevent.tar.gz https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz &&\
mkdir -p /tmp/libevent-php &&\
tar -C /tmp/libevent-php -zxvf /tmp/libevent.tar.gz --strip 1 &&\
cd /tmp/libevent-php &&\
./configure --prefix=/usr/local/libevent-2.1.12 &&\
make &&\
make install &&\
rm /tmp/libevent.tar.gz &&\
docker-php-ext-install sockets &&\
curl -L -o /tmp/event.tar.gz http://pecl.php.net/get/event-3.0.6.tgz &&\
mkdir -p /tmp/event-php &&\
tar -C /tmp/event-php -zxvf /tmp/event.tar.gz --strip 1 &&\
cd /tmp/event-php &&\
phpize &&\
./configure --with-event-libevent-dir=/usr/local/libevent-2.1.12/ &&\
make &&\
make install &&\
rm /tmp/event.tar.gz &&\
docker-php-ext-enable --ini-name zz-event.ini event &&\
php -m | grep -q 'event' \
;fi
#
#--------------------------------------------------------------------------
# Optional Supervisord Configuration

View File

@@ -0,0 +1,44 @@
#!/bin/bash
#
# Copy createdb.sh.example to createdb.sh
# then uncomment then set database name and username to create you need databases
#
# example: .env POSTGRES_USER=appuser and need db name is myshop_db
#
# psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
# CREATE USER myuser WITH PASSWORD 'mypassword';
# CREATE DATABASE myshop_db;
# GRANT ALL PRIVILEGES ON DATABASE myshop_db TO myuser;
# EOSQL
#
# this sh script will auto run when the postgres container starts and the $DATA_PATH_HOST/postgres not found.
#
#
# psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
# CREATE USER db1 WITH PASSWORD 'db1';
# CREATE DATABASE db1;
# GRANT ALL PRIVILEGES ON DATABASE db1 TO db1;
# EOSQL
#
# psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
# CREATE USER db2 WITH PASSWORD 'db2';
# CREATE DATABASE db2;
# GRANT ALL PRIVILEGES ON DATABASE db2 TO db2;
# EOSQL
#
# psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
# CREATE USER db3 WITH PASSWORD 'db3';
# CREATE DATABASE db3;
# GRANT ALL PRIVILEGES ON DATABASE db3 TO db3;
# EOSQL
#
### default database and user for keycloak ##############################################
if [ "$KEYCLOAK_POSTGRES_INIT" == 'true' ]; then
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE USER $KEYCLOAK_POSTGRES_USER WITH PASSWORD '$KEYCLOAK_POSTGRES_PASSWORD';
CREATE DATABASE $KEYCLOAK_POSTGRES_DB;
GRANT ALL PRIVILEGES ON DATABASE $KEYCLOAK_POSTGRES_DB TO $KEYCLOAK_POSTGRES_USER;
ALTER ROLE $KEYCLOAK_POSTGRES_USER CREATEROLE SUPERUSER;
EOSQL
echo
fi

20287
react/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,7 @@
"axios": "^0.21.2",
"bootstrap": "^4.5.3",
"jss-rtl": "^0.3.0",
"node-sass": "^7.0.0",
"node-sass": "^9.0.0",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-bootstrap": "^1.4.0",
@@ -20,7 +20,7 @@
"react-intl": "^4.7.6",
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"react-scripts": "5.0.1",
"redux": "^4.0.5",
"redux-saga": "^1.1.3"
},

9
soketi/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM quay.io/soketi/soketi:latest-16-debian
LABEL maintainer="Er-Niebla <er.niebla@gmail.com>"
COPY config.json /app/bin/config.json
CMD ["--config=/app/bin/config.json"]
EXPOSE 6001 9601

3
soketi/config.json Normal file
View File

@@ -0,0 +1,3 @@
{
"debug": false
}

View File

@@ -1,61 +0,0 @@
#!/usr/bin/env bash
#### halt script on error
set -xe
echo '##### Print docker version'
docker --version
echo '##### Print environment'
env | sort
#### Build the Docker Images
if [ -n "${PHP_VERSION}" ]; then
cp .env.example .env
sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env
sed -i -- 's/=false/=true/g' .env
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
sed -i -- 's/PHPDBG=true/PHPDBG=false/g' .env
sed -i -- 's/CASSANDRA=true/CASSANDRA=false/g' .env
sed -i -- 's/GEARMAN=true/GEARMAN=false/g' .env
sed -i -- 's/AEROSPIKE=true/AEROSPIKE=false/g' .env
sed -i -- 's/PHALCON=true/PHALCON=false/g' .env
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
sed -i -- 's/V8JS=true/V8JS=false/g' .env
sed -i -- 's/OCI8=true/OCI8=false/g' .env
if [ "${PHP_VERSION}" == "5.6" ]; then
# Aerospike C Client SDK 4.0.7, Debian 9.6 is not supported
# https://github.com/aerospike/aerospike-client-php5/issues/145
sed -i -- 's/WORKSPACE_INSTALL_AEROSPIKE=true/WORKSPACE_INSTALL_AEROSPIKE=false/g' .env
sed -i -- 's/PHP_FPM_INSTALL_AEROSPIKE=true/PHP_FPM_INSTALL_AEROSPIKE=false/g' .env
fi
if [ "${PHP_VERSION}" == "7.3" ]; then
# This ssh2 extension does not yet support PHP 7.3.
sed -i -- 's/PHP_FPM_INSTALL_SSH2=true/PHP_FPM_INSTALL_SSH2=false/g' .env
fi
cat .env
docker-compose build ${BUILD_SERVICE}
docker images
fi
#### Generate the Laradock Documentation site using Hugo
if [ -n "${HUGO_VERSION}" ]; then
HUGO_PACKAGE=hugo_${HUGO_VERSION}_Linux-64bit
HUGO_BIN=hugo_${HUGO_VERSION}_linux_amd64
# Download hugo binary
curl -L https://github.com/spf13/hugo/releases/download/v$HUGO_VERSION/$HUGO_PACKAGE.tar.gz | tar xz
mkdir -p $HOME/bin
mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo
# Remove existing docs
if [ -d "./docs" ]; then
rm -r ./docs
fi
# Build docs
cd DOCUMENTATION
hugo
fi

View File

@@ -32,8 +32,9 @@ USER root
ARG CHANGE_SOURCE=false
RUN if [ ${CHANGE_SOURCE} = true ]; then \
# Change application source from deb.debian.org to aliyun source
sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list; \
# Change application source from ubuntu.com to tuna.tsinghua.edu.cn source
sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list; \
sed -i "s@http://.*security.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list; \
fi;
###########################################################################
@@ -198,6 +199,15 @@ COPY ./crontab /etc/cron.d
RUN chmod -R 644 /etc/cron.d
###########################################################################
# Certificate Authorities
###########################################################################
USER root
COPY ./ca-certificates/* /usr/local/share/ca-certificates/
RUN update-ca-certificates
###########################################################################
# Drush:
###########################################################################
@@ -327,13 +337,18 @@ RUN set -eux; \
USER root
ARG INSTALL_XDEBUG=false
ARG XDEBUG_PORT=9003
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extension
# https://xdebug.org/docs/compat
apt-get install -yqq pkg-config php-xml php${LARADOCK_PHP_VERSION}-xml && \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
pecl install xdebug-3.1.2; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
pecl install xdebug-3.2.1; \
else \
pecl install xdebug-3.1.6; \
fi; \
else \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install xdebug-2.5.5; \
@@ -351,10 +366,10 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# ADD for REMOTE debugging
COPY ./xdebug.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini
RUN if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
RUN if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
sed -i "s/xdebug.remote_host=/xdebug.client_host=/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_connect_back=0/xdebug.discover_client_host=false/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_port=9000/xdebug.client_port=9003/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_port=9000/xdebug.client_port=${XDEBUG_PORT}/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.profiler_enable=0/; xdebug.profiler_enable=0/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.profiler_output_dir=/xdebug.output_dir=/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.remote_mode=req/; xdebug.remote_mode=req/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini && \
@@ -375,12 +390,10 @@ USER root
ARG INSTALL_PCOV=false
RUN if [ ${INSTALL_PCOV} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
if [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; then \
pecl install pcov && \
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
;fi \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; }; then \
pecl install pcov && \
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
;fi \
;fi
@@ -470,13 +483,18 @@ ARG INSTALL_AMQP=false
RUN if [ ${INSTALL_AMQP} = true ]; then \
apt-get install -yqq librabbitmq-dev && \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
printf "\n" | pecl install amqp-1.11.0beta; \
if [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; then \
printf "\n" | pecl install amqp-1.11.0; \
else \
printf "\n" | pecl install amqp; \
fi && \
echo "extension=amqp.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/amqp.ini && \
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/amqp.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-amqp.ini \
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/amqp.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-amqp.ini && \
php -m | grep -oiE '^amqp$' \
;fi
###########################################################################
@@ -523,7 +541,11 @@ ARG INSTALL_GEARMAN=false
RUN if [ ${INSTALL_GEARMAN} = true ]; then \
add-apt-repository -y ppa:ondrej/pkg-gearman && \
apt-get update && \
apt-get -yqq install php-gearman \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
apt-get install php${LARADOCK_PHP_VERSION}-gearman -y \
; else \
apt-get install php-gearman -y \
;fi \
;fi
###########################################################################
@@ -533,7 +555,8 @@ RUN if [ ${INSTALL_GEARMAN} = true ]; then \
ARG INSTALL_PHPREDIS=false
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
apt-get install -yqq php${LARADOCK_PHP_VERSION}-redis \
apt-get update \
&& apt-get install -yqq php${LARADOCK_PHP_VERSION}-redis \
;fi
###########################################################################
@@ -551,6 +574,8 @@ RUN set -eux; \
echo '' | pecl -q install swoole-4.3.5; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
echo '' | pecl -q install swoole-4.5.11; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
echo '' | pecl -q install swoole-4.8.12; \
else \
echo '' | pecl -q install swoole; \
fi; \
@@ -672,7 +697,13 @@ RUN if [ ${INSTALL_GRAPHVIZ} = true ]; then \
ARG INSTALL_IONCUBE=false
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "8" ]; then \
if [ ${LARADOCK_PHP_VERSION} = "8.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.4" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; then \
# Install the php ioncube loader
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
&& tar zxpf /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp \
@@ -713,6 +744,7 @@ ARG INSTALL_NPM_GULP=false
ARG INSTALL_NPM_BOWER=false
ARG INSTALL_NPM_VUE_CLI=false
ARG INSTALL_NPM_ANGULAR_CLI=false
ARG INSTALL_NPM_CHECK_UPDATES_CLI=false
ARG NPM_REGISTRY
ENV NPM_REGISTRY ${NPM_REGISTRY}
ARG NPM_FETCH_RETRIES
@@ -730,11 +762,12 @@ ENV NVM_NODEJS_ORG_MIRROR ${NVM_NODEJS_ORG_MIRROR}
RUN if [ ${INSTALL_NODE} = true ]; then \
# Install nvm (A Node Version Manager)
mkdir -p $NVM_DIR && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install ${NODE_VERSION} \
&& nvm use ${NODE_VERSION} \
&& nvm alias ${NODE_VERSION} \
&& npm cache clear --force \
&& npm config set fetch-retries ${NPM_FETCH_RETRIES} \
&& npm config set fetch-retry-factor ${NPM_FETCH_RETRY_FACTOR} \
&& npm config set fetch-retry-mintimeout ${NPM_FETCH_RETRY_MINTIMEOUT} \
@@ -754,7 +787,9 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
&& if [ ${INSTALL_NPM_ANGULAR_CLI} = true ]; then \
npm install -g @angular/cli \
;fi \
&& ln -s `npm bin --global` /home/laradock/.node-bin \
&& if [ ${INSTALL_NPM_CHECK_UPDATES_CLI} = true ]; then \
npm install -g npm-check-updates \
;fi \
;fi
# Wouldn't execute when added to the RUN statement in the above block
@@ -774,9 +809,6 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc \
;fi
# Add PATH for node
ENV PATH $PATH:/home/laradock/.node-bin
# Make it so the node modules can be executed with 'docker-compose exec'
# We'll create symbolic links into '/usr/local/bin'.
RUN if [ ${INSTALL_NODE} = true ]; then \
@@ -804,11 +836,16 @@ COPY ./.npmrc /home/laradock/.npmrc
# PNPM:
###########################################################################
USER laradock
USER root
ARG INSTALL_PNPM=false
ENV PNPM_HOME="/home/laradock/.local/share/pnpm"
ENV PATH $PATH:/home/laradock/.local/share/pnpm
RUN if [ ${INSTALL_PNPM} = true ]; then \
echo "" >> ~/.bashrc && \
echo 'export PNPM_HOME="/home/laradock/.local/share/pnpm"' >> ~/.bashrc && \
echo 'export PATH="$PNPM_HOME:$PATH"' >> ~/.bashrc && \
npx pnpm add -g pnpm \
;fi
@@ -898,13 +935,17 @@ RUN set -xe; \
USER root
ARG INSTALL_OCI8=false
ARG ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/diogomascarenha/oracle-instantclient/raw/master/
ARG ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/the-paulus/oracle-instantclient/raw/master/
ARG ORACLE_INSTANT_CLIENT_ARCH=x86_64
ARG ORACLE_INSTANT_CLIENT_MAJOR=18
ARG ORACLE_INSTANT_CLIENT_MINOR=3
ENV LD_LIBRARY_PATH="/opt/oracle/instantclient_12_1"
ENV OCI_HOME="/opt/oracle/instantclient_12_1"
ENV OCI_LIB_DIR="/opt/oracle/instantclient_12_1"
ENV OCI_INCLUDE_DIR="/opt/oracle/instantclient_12_1/sdk/include"
ENV OCI_VERSION=12
ENV ORACLE_INSTANT_CLIENT_VERSION=${ORACLE_INSTANT_CLIENT_MAJOR}_${ORACLE_INSTANT_CLIENT_MINOR}
ENV LD_LIBRARY_PATH="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}"
ENV OCI_HOME="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}"
ENV OCI_LIB_DIR="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}"
ENV OCI_INCLUDE_DIR="/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/sdk/include"
ENV OCI_VERSION=${ORACLE_INSTANT_CLIENT_MAJOR}
RUN if [ ${INSTALL_OCI8} = true ]; then \
# Install wget
@@ -912,13 +953,13 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
# Install Oracle Instantclient
&& mkdir /opt/oracle \
&& cd /opt/oracle \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-basic-linux.x64-12.1.0.2.0.zip \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-sdk-linux.x64-12.1.0.2.0.zip \
&& unzip /opt/oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& unzip /opt/oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip -d /opt/oracle \
&& ln -s /opt/oracle/instantclient_12_1/libclntsh.so.12.1 /opt/oracle/instantclient_12_1/libclntsh.so \
&& ln -s /opt/oracle/instantclient_12_1/libclntshcore.so.12.1 /opt/oracle/instantclient_12_1/libclntshcore.so \
&& ln -s /opt/oracle/instantclient_12_1/libocci.so.12.1 /opt/oracle/instantclient_12_1/libocci.so \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-basic-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip \
&& wget ${ORACLE_INSTANT_CLIENT_MIRROR}instantclient-sdk-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip \
&& unzip /opt/oracle/instantclient-basic-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip -d /opt/oracle \
&& unzip /opt/oracle/instantclient-sdk-linux.${ORACLE_INSTANT_CLIENT_ARCH}-${ORACLE_INSTANT_CLIENT_VERSION}.zip -d /opt/oracle \
&& if [ ${OCI_VERSION} -lt 18 ] ; then ln -s /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntsh.so.${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntsh.so ; fi\
&& if [ ${OCI_VERSION} -lt 18 ] ; then ln -s /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntshcore.so.${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libclntshcore.so ; fi \
&& if [ ${OCI_VERSION} -lt 18 ] ; then ln -s /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libocci.so.${ORACLE_INSTANT_CLIENT_MAJOR}.${ORACLE_INSTANT_CLIENT_MINOR} /opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/libocci.so ; fi \
&& rm -rf /opt/oracle/*.zip \
# Install PHP extensions deps
&& apt-get update \
@@ -926,13 +967,15 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
libaio-dev && \
# Install PHP extensions
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \
echo 'instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/' | pecl install oci8-2.0.12; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
echo 'instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/' | pecl install oci8-2.2.0; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80000" ]; then \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-3.0.1; \
echo "instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/" | pecl install oci8-3.0.1; \
elif [ $(php -r "echo PHP_MAJOR_VERSION . PHP_MINOR_VERSION;") = "81" ]; then \
echo "instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/" | pecl install oci8-3.2.1; \
else \
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
echo "instantclient,/opt/oracle/instantclient_${ORACLE_INSTANT_CLIENT_VERSION}/" | pecl install oci8; \
fi \
&& echo "extension=oci8.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
&& php -m | grep -q 'oci8' \
@@ -970,6 +1013,7 @@ ARG INSTALL_LARAVEL_ENVOY=false
RUN if [ ${INSTALL_LARAVEL_ENVOY} = true ]; then \
# Install the Laravel Envoy
composer global config --no-plugins allow-plugins.kylekatarnls/update-helper true && \
composer global require laravel/envoy \
;fi
@@ -1085,6 +1129,8 @@ RUN set -eux; \
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70300" ]; then \
pecl install pdo_sqlsrv-5.9.0 sqlsrv-5.9.0 \
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70400" ]; then \
pecl install pdo_sqlsrv-5.10.1 sqlsrv-5.10.1 \
;else \
pecl install pdo_sqlsrv sqlsrv \
;fi && \
@@ -1139,7 +1185,7 @@ RUN if [ ${INSTALL_SYMFONY} = true ]; then \
mkdir -p /usr/local/bin \
&& apt-get -y install sudo wget \
&& wget --quiet https://get.symfony.com/cli/installer -O - | bash \
&& mv /root/.symfony/bin/symfony /usr/local/bin/symfony \
&& mv /root/.symfony5/bin/symfony /usr/local/bin/symfony \
&& chmod a+x /usr/local/bin/symfony \
;fi
@@ -1272,6 +1318,7 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
USER root
ARG INSTALL_PG_CLIENT=false
ARG PG_CLIENT_VERSION
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
# Install the pgsql client
@@ -1279,7 +1326,7 @@ RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \
&& apt-get update \
&& apt-get -y install postgresql-client-12 \
&& apt-get -y install postgresql-client-${PG_CLIENT_VERSION} \
;fi
###########################################################################
@@ -1297,6 +1344,7 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \
libxpm4 libxrender1 libgtk2.0-0 libnss3 libgconf-2-4 xvfb \
gtk2-engines-pixbuf xfonts-cyrillic xfonts-100dpi xfonts-75dpi \
xfonts-base xfonts-scalable x11-apps \
fonts-ipafont \
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& dpkg -i --force-depends google-chrome-stable_current_amd64.deb \
&& apt-get -y -f install \
@@ -1317,22 +1365,30 @@ ARG LARADOCK_PHALCON_VERSION
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get update && apt-get install -yqq unzip libpcre3-dev gcc make re2c git automake autoconf\
&& git clone https://github.com/jbboehr/php-psr.git \
&& cd php-psr \
&& phpize \
&& ./configure \
&& make \
&& make test \
&& make install \
&& curl -L -o /tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v${LARADOCK_PHALCON_VERSION}.zip \
&& unzip -d /tmp/ /tmp/cphalcon.zip \
&& cd /tmp/cphalcon-${LARADOCK_PHALCON_VERSION}/build \
&& ./install \
&& echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini \
&& rm -rf /tmp/cphalcon* \
apt-get update -yqq \
&& pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini; \
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/50-phalcon.ini; \
php -m | grep -q 'phalcon' \
;fi
###########################################################################
# APCU:
###########################################################################
ARG INSTALL_APCU=false
RUN if [ ${INSTALL_APCU} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install apcu-4.0.11; \
else \
pecl install apcu; \
fi && \
echo "extension=apcu.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/apcu.ini; \
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/apcu.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/50-apcu.ini; \
php -m | grep -q 'apcu' \
;fi
###########################################################################
@@ -1433,6 +1489,17 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
&& make install \
;fi
#####################################
# poppler-utils:
#####################################
USER root
ARG INSTALL_POPPLER_UTILS=false
RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
apt-get -y install poppler-utils antiword \
;fi
#####################################
# wkhtmltopdf:
#####################################
@@ -1440,9 +1507,11 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
USER root
ARG INSTALL_WKHTMLTOPDF=false
ARG WKHTMLTOPDF_VERSION=0.12.6-1
RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
apt-get install -y \
ARCH=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
&& apt-get install -y \
libxrender1 \
libfontconfig1 \
libx11-dev \
@@ -1453,8 +1522,8 @@ RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
xfonts-base \
xfonts-75dpi \
wget \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb \
&& dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb \
&& wget "https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}.focal_${ARCH}.deb" \
&& dpkg -i "wkhtmltox_${WKHTMLTOPDF_VERSION}.focal_${ARCH}.deb" \
&& apt -f install \
;fi
@@ -1522,6 +1591,7 @@ ARG INSTALL_PROTOC=false
ARG PROTOC_VERSION
RUN if [ ${INSTALL_PROTOC} = true ]; then \
apt-get -yqq install sudo wget unzip && \
if [ ${PROTOC_VERSION} = "latest" ]; then \
REAL_PROTOC_VERSION=$(curl -s https://api.github.com/repos/protocolbuffers/protobuf/releases/latest | \
sed -nr 's/.*"tag_name":\s?"v(.+?)".*/\1/p'); \
@@ -1529,10 +1599,10 @@ RUN if [ ${INSTALL_PROTOC} = true ]; then \
REAL_PROTOC_VERSION=${PROTOC_VERSION}; \
fi && \
PROTOC_ZIP=protoc-${REAL_PROTOC_VERSION}-linux-x86_64.zip; \
curl -L -o /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v${REAL_PROTOC_VERSION}/${PROTOC_ZIP} && \
unzip -q -o /tmp/protoc.zip -d /usr/local bin/protoc && \
unzip -q -o /tmp/protoc.zip -d /usr/local 'include/*' && \
rm -f /tmp/protoc.zip && \
wget https://github.com/protocolbuffers/protobuf/releases/download/v${REAL_PROTOC_VERSION}/${PROTOC_ZIP} && \
unzip -q -o ${PROTOC_ZIP} -d /usr/local bin/protoc && \
unzip -q -o ${PROTOC_ZIP} -d /usr/local 'include/*' && \
rm -f ${PROTOC_ZIP} && \
chmod +x /usr/local/bin/protoc && \
chmod -R +r /usr/local/include/google \
;fi
@@ -1560,7 +1630,7 @@ ARG SHELL_OH_MY_ZSH_ALIASES=false
USER laradock
RUN if [ ${SHELL_OH_MY_ZSH} = true ]; then \
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc" && \
sed -i -r 's/^plugins=\(.*?\)$/plugins=(laravel5)/' /home/laradock/.zshrc && \
sed -i -r 's/^plugins=\(.*?\)$/plugins=(laravel composer)/' /home/laradock/.zshrc && \
echo '\n\
bindkey "^[OB" down-line-or-search\n\
bindkey "^[OC" forward-char\n\
@@ -1733,6 +1803,65 @@ RUN if [ ${INSTALL_ZMQ} = true ]; then \
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/zmq.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-zmq.ini \
;fi
############################################################################
## Event:
############################################################################
USER root
ARG INSTALL_EVENT=false
RUN set -eux; \
if [ ${INSTALL_EVENT} = true ]; then \
curl -L -o /tmp/libevent.tar.gz https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz &&\
mkdir -p /tmp/libevent-php &&\
tar -C /tmp/libevent-php -zxvf /tmp/libevent.tar.gz --strip 1 &&\
cd /tmp/libevent-php &&\
./configure --prefix=/usr/local/libevent-2.1.12 &&\
make &&\
make install &&\
rm /tmp/libevent.tar.gz &&\
if [ ! -f /etc/php/${LARADOCK_PHP_VERSION}/mods-available/sockets.ini ]; then\
echo "extension=sockets.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/sockets.ini; \
fi &&\
ln -sf /etc/php/${LARADOCK_PHP_VERSION}/mods-available/sockets.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-sockets.ini && \
curl -L -o /tmp/event.tar.gz http://pecl.php.net/get/event-3.0.6.tgz &&\
mkdir -p /tmp/event-php &&\
tar -C /tmp/event-php -zxvf /tmp/event.tar.gz --strip 1 &&\
cd /tmp/event-php &&\
phpize &&\
./configure --with-event-libevent-dir=/usr/local/libevent-2.1.12/ &&\
make &&\
make install &&\
rm /tmp/event.tar.gz &&\
echo "extension=event.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/event.ini && \
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/event.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-event.ini && \
php -m | grep -q 'event' \
;fi
###########################################################################
# DNS utilities:
###########################################################################
USER root
ARG INSTALL_DNSUTILS=false
RUN if [ ${INSTALL_DNSUTILS} = true ]; then \
apt-get update && apt-get install -y dnsutils \
;fi
###########################################################################
# Java Development Kit:
###########################################################################
ARG INSTALL_JDK=false
RUN if [ ${INSTALL_JDK} = true ]; then \
apt-get update \
&& apt-get install -y default-jdk ca-certificates-java \
&& update-ca-certificates -f \
;fi
#
#--------------------------------------------------------------------------
# Final Touch
@@ -1744,7 +1873,7 @@ USER root
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
rm /var/log/lastlog /var/log/faillog
rm -f /var/log/lastlog /var/log/faillog
# Set default work directory
WORKDIR /var/www

View File

@@ -148,3 +148,14 @@ function fs() {
du $arg .[^.]* ./*;
fi;
}
# Add artisan autocomplete
function _artisan()
{
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
COMMANDS=`php artisan --raw --no-ansi list | sed "s/[[:space:]].*//g"`
COMPREPLY=(`compgen -W "$COMMANDS" -- "${COMP_WORDS[COMP_CWORD]}"`)
return 0
}
complete -F _artisan art
complete -F _artisan artisan

View File