Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
session-intermediaire
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
formation-docker-cnrs
session-intermediaire
Commits
d9a1fc35
Commit
d9a1fc35
authored
11 months ago
by
Benjamin Lecha
Browse files
Options
Downloads
Patches
Plain Diff
Update file docker-compose.yml
parent
b67e4f5e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+43
-0
43 additions, 0 deletions
docker-compose.yml
with
43 additions
and
0 deletions
docker-compose.yml
0 → 100644
+
43
−
0
View file @
d9a1fc35
services
:
web
:
image
:
wordpress
restart
:
always
container_name
:
"
web"
depends_on
:
# Non nécessaire
-
db
ports
:
-
8080:80
environment
:
WORDPRESS_DB_HOST
:
db
WORDPRESS_DB_USER
:
exampleuser
WORDPRESS_DB_PASSWORD
:
examplepass
WORDPRESS_DB_NAME
:
exampledb
volumes
:
-
wordpress:/var/www/html
db
:
image
:
mysql:5.7
restart
:
always
container_name
:
"
database"
environment
:
MYSQL_DATABASE
:
exampledb
MYSQL_USER
:
exampleuser
MYSQL_PASSWORD
:
examplepass
MYSQL_RANDOM_ROOT_PASSWORD
:
'
1'
volumes
:
-
db:/var/lib/mysql
adminer
:
image
:
adminer
restart
:
always
container_name
:
"
web-db"
depends_on
:
# Non nécessaire
-
db
ports
:
-
8081:8080
volumes
:
wordpress
:
db
:
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