Commit Graph

55 Commits

Author SHA1 Message Date
a6d5752748
[TOOLS][PHPStan] Make a standalone phpstan executable, which executes inside the docker container 2021-10-27 04:19:31 +01:00
3ef1077f90
[DOCKER] TODOify mail server certificate 2021-09-23 15:47:51 +01:00
15a87055a6
[DOCKER][Redis] Add way to override Redis config. Default to only one database 2021-09-21 11:04:26 +01:00
1f3a6fe6ac
[TESTS] Fix and/or temporarily disable failing tests. We'll get back to this 2021-09-14 13:36:30 +01:00
1adde913c6
[PHPStan] Only run custom PHPStan extensions if environment vairable PHPSTAN_BOOT_KERNEL is defined (since it requires having the whole social setup available) 2021-09-14 13:13:45 +01:00
9d7f43cd28
[TOOLS][PHPStan][TESTS][Docker] Rework testing Docker container into a more generic tooling container. Keep services up and run coverage and phpstan as commands, for performance and ease of use 2021-09-14 13:13:44 +01:00
86bdc398c5
[DOCKER] Update PHP docker container to include ffmpeg, for the VideoEncoderPlugin 2021-09-14 13:13:34 +01:00
0f634e86c7
[TESTS] Revert exposing Redis docker container ports, as this conflicts with the actual instance, and was intended for testing 2021-09-14 13:13:14 +01:00
88f1437ee7
[TESTS] Use vendor/bin/simple-phpunit for running the tests, as it provides the appropriate polyfills 2021-09-14 13:13:12 +01:00
c33a65c45e
[DOCKER][nginx] Removing default nginx config through docker/nginx/domain.sh. The default config conflicts with 'localhost' server_name. 2021-09-14 13:13:02 +01:00
ffa3774c46
[TOOLS][TESTS] Make tests run as www-data 2021-09-14 13:13:00 +01:00
d2020eb7d8
[TOOLS][TESTS] Adjust configuration for testing environment 2021-09-14 13:12:59 +01:00
5d326bd18e
[TESTS] Move testing container's DB and Redis to different ports, so it can be used at the same time as the regular containers 2021-09-14 13:12:58 +01:00
ee97cc5b00
[TESTS] Add test container with Xdebug and allow for generation of coverage reports with 'make test' 2021-09-14 13:12:57 +01:00
081b0de919
[DOCKER] Add VIPS PHP extension to Docker build 2021-09-14 13:11:51 +01:00
155f30e816
[TOOLS] Fix missing exported variable in bin/configure 2021-09-14 13:10:54 +01:00
a38ee03f18
[TOOLS][DOCKER] Make sure composer doesn't require interaction when installing 2021-09-14 13:10:54 +01:00
ff771223af
[DOCKER][TOOLS] Add option to bin/configure to use a prebuilt PHP container (https://hub.docker.com/repository/docker/gsocial/php) 2021-09-14 13:10:22 +01:00
1773ab7af2
[DOCKER][MAIL] Update config and change the way mail docker handles it, so the edits aren't visible from the outside, polluting the git staging area 2021-09-14 13:10:20 +01:00
b3623329e3
[DOKER][MAIL][BOOTSTRAP] Make bootstrap generate separate certificates for the web root and the mail server 2021-09-14 13:10:20 +01:00
b824a0425e
[DOCKER] Remove quotes from docker env files, as docker (or at least docker-compose) include them in the actual value 2021-09-14 13:10:20 +01:00
0e9737ee39
[TOOLS][DOCKER] Rewrite the configuration script to use whiptail/dialog, and refactor 2021-09-14 13:10:20 +01:00
Pastilhas
f319ccea78
[DOCKER][MAIL] Fixed hash command
Also added permissions to start.sh
2021-09-14 13:10:16 +01:00
margarida
f3c3d80892
[TOOLS][DOCKER] Add mail setup to configure 2021-09-14 13:10:16 +01:00
margarida
c36259f7c1
[TOOLS][DOCKER] Changed script to write docker-compose.yaml 2021-09-14 13:10:15 +01:00
Pastilhas
5b088dabc2
[DOCKER][MAIL] Fixed variable expansion in run 2021-09-14 13:10:15 +01:00
Pastilhas
d291a8dae5
[DOCKER][MAIL] Cleanup opendkim.conf
Also improved consistency in other files
2021-09-14 13:10:14 +01:00
Pastilhas
67483e415c
[DOCKER][MAIL] Removed unsued files, modified dovecot.conf 2021-09-14 13:10:14 +01:00
Pastilhas
19ed10078f
[DOCKER][MAIL] User is now created on setup and Dockerfile
Continuation of previous commit
2021-09-14 13:10:14 +01:00
Pastilhas
2c3599721e
[DOCKER][MAIL] Removed unused config files and scripts
Now user is created on setup and dockerfile
2021-09-14 13:10:14 +01:00
Pastilhas
0518bc2c6b
[DOCKER][MAIL] Substituted supervisord for s6 2021-09-14 13:10:14 +01:00
Pastilhas
def5e06a28
[DOCKER][MAIL] Moved and modified setup.sh 2021-09-14 13:10:14 +01:00
Pastilhas
93939d8b25
[DOCKER][MAIL] Switched named volume to shared volume and changed env vars to env file 2021-09-14 13:10:14 +01:00
Pastilhas
0137a68ccb
[DOCKER][MAIL] Improved exec.sh 2021-09-14 13:10:14 +01:00
Pastilhas
cea170ed18
[DOCKER][MAIL] Fixed small bug with ssl certificates 2021-09-14 13:10:14 +01:00
Pastilhas
11dbbef351
[DOCKER][MAIL] Fixed small bugs in config and scripts 2021-09-14 13:10:14 +01:00
Pastilhas
c2e6e3706f
[DOCKER][MAIL] New config files 2021-09-14 13:10:13 +01:00
Pastilhas
419a2ceb1a
[DOCKER][MAIL] Fused services into single container 2021-09-14 13:10:13 +01:00
Pastilhas
86a95def01
[DOCKER][MAIL] Changed directory path 2021-09-14 13:10:13 +01:00
9cd5560081
[DOCKER] Bump to PHP version 8 2021-09-14 13:06:57 +01:00
Hugo Sales
ab252accb2
Small update to php dockerfile 2021-09-14 13:06:56 +01:00
Hugo Sales
c0a17af062
[DOCKER] Fix redis extension build process to use LZ4 and add APCu 2021-09-14 13:05:35 +01:00
Hugo Sales
071c1aaec4
[DOCKER] Updated php image so redis is compiled with LZ4 compression available, as it's the fastest at decompressing and really fast at compressing. Read performance is more important, with this being used as a cache 2021-09-14 13:05:35 +01:00
Hugo Sales
d35b6f3437
[DOCKER] Add msgpack and redis extensions to docker image 2021-09-14 13:05:35 +01:00
Hugo Sales
05ffc0db9c
[DOCKER] Move certbot files to hidden folder, so it's ignored by GNU global 2021-09-14 13:05:34 +01:00
Hugo Sales
279b7e775b
[DOCKER][PHP][EXTENSION] Add PHP ds extension to docker PHP image 2021-09-14 13:05:34 +01:00
Hugo Sales
5a61098d28
[TOOLS] Update install scripts 2021-09-14 13:05:25 +01:00
Diogo Cordeiro
f60e37ba3d
[DOCKER][BOOTSTRAP] Add option to use a self signed cert 2021-09-14 13:05:24 +01:00
Hugo Sales
1ce5661f70
[DOCKER] Small fixes to docker setup, imported from V2 2021-09-14 13:05:03 +01:00
Hugo Sales
8a86c5940d
[TOOLS] Updated install script to also support mariadb 2021-09-14 13:05:03 +01:00