Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
8a4e398e
Commit
8a4e398e
authored
5 years ago
by
Alexey Kuklin
Browse files
Options
Downloads
Patches
Plain Diff
DirectoryIndex fix, dockerignore and file relocation
parent
f79c2354
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.dockerignore
+3
-0
3 additions, 0 deletions
.dockerignore
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
docker/000-default.conf
+33
-0
33 additions, 0 deletions
docker/000-default.conf
docker/apache2-foreground
+0
-0
0 additions, 0 deletions
docker/apache2-foreground
with
38 additions
and
1 deletion
.dockerignore
0 → 100644
+
3
−
0
View file @
8a4e398e
docker/*
Dockerfile
.gitlab-ci.yml
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
1
View file @
8a4e398e
...
...
@@ -4,7 +4,8 @@ RUN apt-get update && apt-get install -y apache2 libapache2-mod-php7.3 php7.3-my
ADD
. /var/www/html/.
COPY
apache2-foreground /usr/local/bin/
COPY
docker/apache2-foreground /usr/local/bin/
COPY
docker/000-default.conf /etc/apache2/sites-available/000-default.conf
WORKDIR
/var/www/html
EXPOSE
80
...
...
This diff is collapsed.
Click to expand it.
docker/000-default.conf
0 → 100644
+
33
−
0
View file @
8a4e398e
<
VirtualHost
*:
80
>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin
webmaster
@
localhost
DocumentRoot
/
var
/
www
/
html
DirectoryIndex
index
.
php
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog
${
APACHE_LOG_DIR
}/
error
.
log
CustomLog
${
APACHE_LOG_DIR
}/
access
.
log
combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</
VirtualHost
>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
This diff is collapsed.
Click to expand it.
apache2-foreground
→
docker/
apache2-foreground
+
0
−
0
View file @
8a4e398e
File moved
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