Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker_rss
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
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Wibaillie
docker_rss
Commits
8abcee9b
Commit
8abcee9b
authored
2 years ago
by
Valentin Wibaillie
Browse files
Options
Downloads
Patches
Plain Diff
push
parent
a52a58ba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
..env.swp
+0
-0
0 additions, 0 deletions
..env.swp
.env
+1
-0
1 addition, 0 deletions
.env
Dockerfile
+1
-0
1 addition, 0 deletions
Dockerfile
apachephp/Dockerfile
+2
-0
2 additions, 0 deletions
apachephp/Dockerfile
docker-compose.yml
+10
-1
10 additions, 1 deletion
docker-compose.yml
with
14 additions
and
1 deletion
..env.swp
0 → 100644
+
0
−
0
View file @
8abcee9b
File added
This diff is collapsed.
Click to expand it.
.env
+
1
−
0
View file @
8abcee9b
#Change le port hôte sur lequel on se connecte au conteneur
HOST_PORT=8080
MYSQL_ROOT_PASSWORD=root
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
0
View file @
8abcee9b
FROM
debian:stable
RUN
apt-get update
&&
apt-get
-y
install
apache2 php cron
CMD
["/bin/bash"]
This diff is collapsed.
Click to expand it.
apachephp/Dockerfile
0 → 100644
+
2
−
0
View file @
8abcee9b
FROM
debian:stable
RUN
apt-get update
&&
apt-get
-y
install
apache2 php cron
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
10
−
1
View file @
8abcee9b
version
:
'
3.9'
services
:
front
:
image
:
./Dockerfile
image
:
rss/image-apachephp:latest
build
:
context
:
apachephp
dockerfile
:
Dockerfile
environment
:
HOST_PORT
:
ports
:
...
...
@@ -13,6 +16,12 @@ services:
-
db
db
:
image
:
mysql
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command
:
--default-authentication-plugin=mysql_native_password
restart
:
always
environment
:
MYSQL_ROOT_PASSWORD
:
networks
:
-
db
networks
:
...
...
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