Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wordpress
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
wordpress
Commits
02d36ebb
Verified
Commit
02d36ebb
authored
1 year ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Add configs for fail2ban and upload
parent
6903437b
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
docker-compose.yml
+2
-1
2 additions, 1 deletion
docker-compose.yml
docker/Dockerfile
+6
-0
6 additions, 0 deletions
docker/Dockerfile
docker/custom.ini
+2
-0
2 additions, 0 deletions
docker/custom.ini
docker/entrypoint.sh
+3
-0
3 additions, 0 deletions
docker/entrypoint.sh
with
13 additions
and
1 deletion
docker-compose.yml
+
2
−
1
View file @
02d36ebb
...
@@ -3,7 +3,8 @@ version: "3.0"
...
@@ -3,7 +3,8 @@ version: "3.0"
services
:
services
:
wordpress
:
wordpress
:
image
:
wordpress:php8.1
build
:
context
:
docker/
restart
:
always
restart
:
always
environment
:
environment
:
TZ
:
${TZ}
TZ
:
${TZ}
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile
0 → 100644
+
6
−
0
View file @
02d36ebb
FROM
wordpress:php8.1
RUN
apt-get update
&&
apt-get
install
-y
rsyslog
RUN
sed
-i
'/imklog/s/^/#/'
/etc/rsyslog.conf
COPY
custom.ini $PHP_INI_DIR/conf.d/
COPY
entrypoint.sh /entrypoint.sh
ENTRYPOINT
["/entrypoint.sh"]
This diff is collapsed.
Click to expand it.
docker/custom.ini
0 → 100644
+
2
−
0
View file @
02d36ebb
upload_max_filesize
=
3G
post_max_size
=
3G
This diff is collapsed.
Click to expand it.
docker/entrypoint.sh
0 → 100755
+
3
−
0
View file @
02d36ebb
#!/bin/bash
/usr/sbin/rsyslogd
-n
-iNONE
&
/usr/local/bin/docker-entrypoint.sh apache2-foreground
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment