Commit graph

16 commits

Author SHA1 Message Date
thylong 32305b4d3a
feat(non-root): run container as non-root with read-only fs
This commit allows any container based on linkstack image
to be run as non-root with apache user and limit to RO the
filesystem permissions. Ensuring a much more secured runtime.
2023-12-27 17:31:07 +01:00
Théotime Lévêque 548dbc09fe
refactor(docker-entrypoint): remove unused DEBUG related references
As the configuration is now defined at build time and
overriden at runtime strictly through environment variables,
it s not necessary anymore to capture config file changes as
they become immutable.
2023-12-27 12:30:10 +01:00
Théotime Lévêque 52f17a764c
feat(config): move PHP configuration from runtime to build time
This commit is the second of a PR that will
aim at dropping requirement to run containers
with root permissions.

This commit leverages env vars rather than sed &
dynamic environment substitution for php.ini file.
2023-12-27 12:30:09 +01:00
Théotime Lévêque 60ea64a7db
feat(config): move apache2 configuration from runtime to build time
This commit is the first of a PR that will
aim at dropping requirement to run containers
with root permissions.

This commit leverages PassEnv rather than sed &
dynamic environment substitution in the config files.
2023-12-27 12:29:50 +01:00
Julian Prieber c9666b87e8 Updated to PHP 8.2 2023-06-24 00:06:44 +02:00
Julian Prieber e97ca4ae1c Name change 2023-05-01 15:22:09 +02:00
Julian Prieber f32a98f21a Updated to PHP 8.1 2023-01-26 14:40:19 +01:00
J. Scott Elblein aca2342ce4 Update docker-entrypoint.sh
Added version to log
2022-12-12 10:48:35 -06:00
J. Scott Elblein 76ce09e1f0 Minor changes
Reverted to Alpine 3.16.0 due to no PHP8 mods yet available for 3.17.0.

Slight organization and stricter chmod.

Stricter sed search and replace for httpd.conf.
2022-12-08 21:58:54 -06:00
J. Scott Elblein a413c9c632 Revert "Revert "Several changes""
This reverts commit 4e22a724b9.
2022-11-25 08:40:46 -06:00
Julian Prieber 4e22a724b9 Revert "Several changes"
This reverts commit 4f7443dc54.
2022-11-24 14:32:46 +01:00
J. Scott Elblein 4f7443dc54 Several changes
Closes:
https://github.com/JulianPrieber/llc-docker/issues/11

+ Healthcheck Log Spam hidden.
+ FQDN Warning fixed.
+ Access+ Logs now also shown in the container log.
+ More logical container entry path.
+ Timezone fixed in log info (added tzdata).
+ docker-entrypoint.sh moved to bin path, so it can be called from anywhere, rather than only the root dir.
2022-10-14 00:11:13 -05:00
Julian Prieber 3d0d95b273 Added docker identifier 2022-07-16 12:41:16 +02:00
Julian Prieber 1077805eb7 Changed "www.example.com" to "localhost" 2022-07-15 21:54:47 +02:00
Julian Prieber 5b79cd5848
Set default upload_max_filesize to 8 MB
Set the default upload_max_filesize to 8 MB in the php.ini.

For this, a next environment variable can now be used to change this value.
2022-07-06 15:36:43 +02:00
Julian Prieber 2021981cc8 Added docker files 2022-06-16 17:00:01 +02:00