Shlee
32c97df680
Update docker-compose.yml
1 week ago
Shlee
a93b28c038
Update docker-compose.yml
1 week ago
Your Name
b3e56b33e6
fix(docker): stop caching /sw.js long-term, quiet 200 access logs
...
The FrankenPHP base image's (performance) Caddy snippet applies a
one-year immutable Cache-Control to every *.js file. That rule also
catches the service worker at /sw.js, so browsers can be stuck on a
stale service worker for up to a year and never pick up new releases
(issue #7069 ). Add a CADDY_SERVER_EXTRA_DIRECTIVES override that resets
/sw.js to 'Cache-Control: no-cache'. Extra directives are imported after
the (performance) snippet, so this header wins; other hashed assets keep
their long-lived immutable caching.
Also set LOG_OUTPUT_LEVEL=error so Caddy's access log stops emitting a
line for every successful request (2xx/3xx/4xx are logged at INFO, 5xx
at ERROR), cutting the log noise while still surfacing server errors.
Both use the base image's supported env-var extension points, so there
is no forked Caddyfile to maintain. Verified against
serversideup/php:8.5-frankenphp: /sw.js -> no-cache, other .js stays
immutable, and no 'handled request' 200 lines are logged.
Closes #7069
1 week ago
Your Name
f5d166a933
fix: remove bootstrap/cache bind mount from docker-compose
...
The bootstrap/cache volume mount causes stale service provider references
to persist across rebuilds. When a package is removed, the host's cached
packages.php/services.php still reference the old provider, causing
'Class not found' errors at container startup.
The AUTORUN_LARAVEL_*_CACHE env vars already handle cache regeneration
on each container start, making the bind mount unnecessary.
4 weeks ago
Pim van Pelt
48d6562d4a
Update docker-compose.yml
...
Use a test that fits the 'mysql:9' docker image (instead of a test that uses a 'mariadb' specific entrypoint).
Same fix as in joinloops/loops-server.git
9 months ago
dansup
c4b08a853c
Merge pull request #6356 from pixelfed/shleeable-patch-9
...
Update docker-compose.yml - remove laravel smarts from horizon/scheduled tasks
10 months ago
Shlee
6cf1e8fb9c
Update docker-compose.yml
10 months ago
Shlee
63a3c63cba
Update docker-compose.yml
10 months ago
Shlee
06eedfba00
Update docker-compose.yml
10 months ago
dansup
db0b096798
Staging ( #6343 )
...
* Prepared new docker
* Docker setup improvements and fixes
* Update DOCKER_SETUP.md
* Update DOCKER_SETUP.md
* Update DOCKER_SETUP.md
* Update DOCKER_SETUP.md
* Update DOCKER_SETUP.md
* Update DOCKER_SETUP.md
* Update .dockerignore
* DB/Redis health check
* updated health checks
* updated install guide
* updated DOCKER_SETUP
* Updated DOCKER_SETUP
* Updated DOCKER_SETUP
* Update and rename DOCKER_SETUP.md to DOCKER_COMPOSE_SETUP.md
* RemoveUnreachableStatementRector
* Update GroupActivityPubService.php
* Larastan: Add @property
* Delete rector.php
* more properties
* 2fa_enabled needs to be refactored
* Fix AdminUser.php syntax error - remove invalid property declaration
* Update AdminUser.php
* update
* Upgrade predis from v2.0 to v3.2
- Update predis/predis from ^2.0 to ^3.2
- Predis v3.2.0 includes RESP3 support, improved pipeline abstractions
- No code changes required, configuration remains compatible
- Tested successfully with tinker
* Upgrade predis from v2.0 to v3.2
* Update
* Update .env.docker.example
* Update DOCKER_COMPOSE_SETUP.md
* Create ImageDriverManager.php
* Update image.php
* Update ImageResizePipeline.php
* Update StoryComposeController.php
* Update AvatarOptimize.php
* Update Image.php
* Update composer.json
* Update AvatarOptimize.php
* update lock
* Update composer.lock
* update
* update
* update
* Allow to set new image types in admin interface
* Update composer, fix deps
* Update composer
---------
Co-authored-by: Shlee <github@shl.ee>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Severin <savewish@icloud.com>
10 months ago
Lioh Moeller
10f23905eb
Update docker-compose.yml
...
use DOCKER_PROXY_VERSION env var instead
2 years ago
Lioh Moeller
c72dc47452
Update docker-compose.yml
...
Expecting: TRUSTED CERTIFICATE) while SSL handshaking
fixes: https://github.com/nginx-proxy/nginx-proxy/issues/2287
2 years ago
daniel
1ff71b2e61
Merge pull request #4986 from jippi/build-frontend-in-docker
...
Docker: Allow optional building of the frontend
2 years ago
Norbert Tretkowski
bf309297d5
`version` is obsolete
2 years ago
Christian Winther
f428025db9
add docker-compose build setting for BUILD_FRONTEND
3 years ago
Christian Winther
dd5878b256
Allow setting the DB root password seperately
...
Fixes https://github.com/pixelfed/pixelfed/issues/4980
3 years ago
Christian Winther
c8c2e1c2eb
update docs + paths
3 years ago
Christian Winther
d9d2a475d8
sort keys in compose
3 years ago
Christian Winther
8fd27c6f0c
use remote build cache for faster local dev
3 years ago
Christian Winther
abee7d4d62
add missing profiles
3 years ago
Christian Winther
bc66b6da18
many small fixes and improvements
3 years ago
Christian Winther
5c208d0519
allow easy overrides of any and all files in container via new override mount
3 years ago
Christian Winther
d372b9dee7
Set stop_signal for worker to stop Horizon more correct
3 years ago
Christian Winther
98bae1316f
cleanup .env.docker variable names and placement in the file
3 years ago
Christian Winther
a094a0bd66
syntax fix
3 years ago
Christian Winther
62efe8b3d4
ensure default health check values
3 years ago
Christian Winther
ead7c33275
more docker config tuning
3 years ago
Christian Winther
cc9f673eea
test proxy via direct url
3 years ago
Christian Winther
eee17fe9f2
harden proxy health check to be https based
3 years ago
Christian Winther
a4646df8f2
add some health checks
3 years ago
Christian Winther
45f1df78b0
update proxy-acme paths
3 years ago
Christian Winther
be2ba79dc2
bugfixes
3 years ago
Christian Winther
d8b37e6870
debug redis
3 years ago
Christian Winther
de96c5f06d
migration docs
3 years ago
Christian Winther
72b454143b
tweaking configs
3 years ago
Christian Winther
2135199c97
tune the github workflow config
3 years ago
Christian Winther
9c426b48a1
more docs
3 years ago
Christian Winther
98660760c9
improve faq
3 years ago
Christian Winther
53eb9c11fc
add faq
3 years ago
Christian Winther
9814a39fd8
more docs
3 years ago
Christian Winther
c258a15761
cleanup a bit
3 years ago
Christian Winther
2e3c7e862c
iterating on proxy + letsencrypt setup
3 years ago
Christian Winther
284bb26d92
sync
3 years ago
Christian Winther
9445980e04
expose both http and https ports
3 years ago
Christian Winther
e228a1622d
refactor layout
3 years ago
Mehdi Benadel
b1ff44ca2f
update docker-compose
4 years ago
Falko Zurell
7ba1efe6a9
switch from MySQL docker images to MariaDB
...
This seems to address some rare occasions where MySQL conversions causes issues as in https://github.com/pixelfed/pixelfed/issues/2989
4 years ago
criadoperez
bbccfdeff2
docker-compose file fix
5 years ago
Alexandra Dunn
927ef3b057
docker-compose: store default db passwords in .env.docker
...
and have redis use a password as well
6 years ago
Shlee
43e8aa7716
Update docker-compose.yml
7 years ago