Commit graph

39 commits

Author SHA1 Message Date
daniel
6276d3539a
Staging (#5674)
* Update .env.docker

Registry has changed. Old registry has been discontinued in August 2024. New Registry added, format of Docker tag has been adjusted as it now contains the Debian Release as well.

Sample Version is set to current stable but can be adjusted to any of the available branches.

* Update .env.docker

Stick major.minor according to https://jippi.github.io/docker-pixelfed/customize/tags/#pixelfed-version

Disable Debian Release Check until it's solved in dottie.

Closes https://github.com/pixelfed/pixelfed/issues/5264

* New translations web.php (Finnish)
[ci skip]

* New translations web.php (Finnish)
[ci skip]

* fix: don't restore memory limit after cities import

Since this command can only be invoked by CLI, the process will exit after a successful import, so restoring the transient PHP memory limit doesn't really have any affect.

In PHP 8.4, this throws the following error (which doesn't happen in 8.3 and below)

> [entrypoint / 11-first-time-setup.sh] - (stderr) 128769/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%[2025-01-20 11:29:23] production.ERROR: Failed to set memory limit to 134217728 bytes (Current memory usage is 134746112 bytes) {"exception":"[object] (ErrorException(code: 0): Failed to set memory limit to 134217728 bytes (Current memory usage is 134746112 bytes) at /var/www/app/Console/Commands/ImportCities.php:140)

It seems to be a 8.4 behavior change, so removing the logic would make it go away

* New translations web.php (Finnish)
[ci skip]

* New translations web.php (Finnish)
[ci skip]

* New translations web.php (Portuguese)
[ci skip]

* New translations web.php (Portuguese)
[ci skip]

* fix(compose-modal): avoid WebGL if it's not needed

* fix(compose-modal): update webgl-media-editor

* New translations web.php (Hungarian)
[ci skip]

* New translations web.php (Russian)
[ci skip]

* New translations web.php (Russian)
[ci skip]

* Update .env.example

Adding the parameter INSTANCE_DISCOVER_PUBLIC="true" to prevent a HTTP 403 error at the explorer tab in the instance preview.

* New variable for lang spanish

* Variable for lang spanish

* Update Dockerfile, fixes #5535 #5559

* Fix #5582

* Fix #5632

* Update status twitter:card to summary_large_image for images/albums

* Update changelog

---------

Co-authored-by: Lioh Moeller <lioh.moeller@gmx.net>
Co-authored-by: Christian Winther <jippignu@gmail.com>
Co-authored-by: Taye Adeyemi <dev@taye.me>
Co-authored-by: stemy2 <stemy2@users.noreply.github.com>
Co-authored-by: Uthanien <feldarec@gmail.com>
2025-02-04 04:48:48 -07:00
daniel
710397322a
Merge pull request #5211 from intentionally-left-nil/fix-cache-perms
Docker fixes for composer install
2024-11-08 21:50:12 -07:00
Anil Kulkarni
0e8ea578d9
Fix composer install step
First, fix the permissions of /cache/composer to be writeable by www-data
Next, skip the post-install scripts since the repo isn't ready yet
Then, run the autoload generator, and finally do the post-install steps
2024-07-07 00:11:50 -07:00
Anil Kulkarni
ccea85ebf0
Mark RUNTIME_GID as an argument 2024-07-06 19:13:04 -07:00
Anil Kulkarni
8d51ed2037
Modify the www-data user and group id to match the RUNTIME_UID/GID 2024-05-19 17:38:03 -07:00
daniel
1ff71b2e61
Merge pull request #4986 from jippi/build-frontend-in-docker
Docker: Allow optional building of the frontend
2024-05-16 04:36:36 -06:00
Christian Winther
dbc5df849f use ENABLE_CONFIG_CACHE when dumping composer autoload 2024-04-06 10:06:07 +00:00
Christian Winther
37b4705245 fix hadolint? 2024-03-06 21:34:15 +00:00
Christian Winther
9d9a4cbe20 fix hadolint? 2024-03-06 21:33:07 +00:00
Christian Winther
d5470101f4 don't build the frontend by default in Docker 2024-03-06 21:25:02 +00:00
Christian Winther
2c2cf42cf9 build the frontend in Docker 2024-03-06 20:30:08 +00:00
Christian Winther
acb699bf13 use the correct buildkit env for downloading binaries 2024-02-25 11:00:26 +00:00
Christian Winther
b08bb3669d bump dottie version 2024-02-24 23:00:38 +00:00
Christian Winther
28b83b575f Bump dottie 2024-02-22 14:48:31 +00:00
Christian Winther
6edd712581 bump dottie 2024-02-17 01:19:59 +00:00
Christian Winther
49a778d128 add CODEOWNERS 2024-02-11 02:00:09 +00:00
Christian Winther
e18d6083a2 bump dottie 2024-02-11 01:24:26 +00:00
Christian Winther
143d5703dd update .env.docker 2024-02-10 23:08:22 +00:00
Christian Winther
bc66b6da18 many small fixes and improvements 2024-02-10 20:03:04 +00:00
Christian Winther
b73d452255 sort ARG in Dockerfile 2024-01-26 23:39:18 +00:00
Christian Winther
1a6e97c98b try to make 8.3 build working by building imagick from master branch 2024-01-26 22:51:15 +00:00
Christian Winther
d2ed117d3f improve Dockerfile for composer.json+composer.lock 2024-01-26 20:15:33 +00:00
Christian Winther
347ac6f82b fix Dockerfile indent 2024-01-18 17:33:24 +00:00
Christian Winther
45f1df78b0 update proxy-acme paths 2024-01-17 14:41:48 +00:00
Christian Winther
afa335b7b5 add missing pecl back 2024-01-17 12:50:55 +00:00
Christian Winther
de96c5f06d migration docs 2024-01-15 23:50:16 +00:00
Christian Winther
685f62a5d0 allow skipping one-time setup tasks 2024-01-15 18:44:43 +00:00
Christian Winther
84c9aeb514 fixing postgresql and some more utility help 2024-01-15 14:16:54 +00:00
Christian Winther
e228a1622d refactor layout 2024-01-06 14:19:36 +00:00
Sven Fischer
8de7de4588 use Dockerfile.apache by default
In docker-compose, using a symlink from ./Dockerfile
to contrib/docker/Dockerfile.apache does not work. Therefore the symlink
is deleted and the docker-compose.yml is instructed to use the file
Dockerfile.apache in contrib by default.
2019-11-01 18:59:13 +01:00
Pierre Jaury
5224d7cd96 Move Dockerfiles to contrib/ 2018-08-23 22:43:47 +02:00
Pierre Jaury
ecd867fa30 Add a Dockerfile symlink for automated builds 2018-06-16 09:02:46 +02:00
Pierre Jaury
b412616c28 Add a start script and automatically migrate the db 2018-06-12 20:56:42 +02:00
Moritz Heiber
1fec673728
Replaced docker-compose.yml, run composer as root, create needed directories for application storage, revert changes to nginx.conf 2018-05-31 21:43:14 +02:00
Moritz Heiber
32d54ecf65 Fixed logs location in Dockerfile, added docker-compose-running.yml for running the application 2018-05-29 10:28:19 +02:00
Moritz Heiber
9baa229a12 Simplified Dockerfile 2018-05-29 10:28:19 +02:00
Moritz Heiber
609ca40e69 Tweaked the Docker configuration 2018-05-29 10:28:19 +02:00
Marcin Mikołajczak
47cd935091
Add pcntl extension to Dockerfile 2018-05-27 13:00:55 +00:00
kpcyrd
77ca794cf0 Add simple docker deployment 2018-05-20 15:02:29 +02:00