Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Yankova, Liliya (UG - Computer Science)
advanced_coursework
Commits
d470f6ed
Commit
d470f6ed
authored
May 29, 2021
by
Yankova, Liliya (UG - Computer Science)
Browse files
Added networks for the 2 containers;
parent
8e0e3958
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yaml
View file @
d470f6ed
...
@@ -17,7 +17,10 @@ services:
...
@@ -17,7 +17,10 @@ services:
ports
:
ports
:
-
"
9906:3306"
-
"
9906:3306"
expose
:
expose
:
-
"
9906"
-
"
9906"
networks
:
-
login_network
web
:
web
:
build
:
./php
build
:
./php
image
:
php:7.2.2-apache
image
:
php:7.2.2-apache
...
@@ -28,8 +31,14 @@ services:
...
@@ -28,8 +31,14 @@ services:
-
./php/:/var/www/html/
-
./php/:/var/www/html/
ports
:
ports
:
-
"
8000:80"
-
"
8000:80"
networks
:
-
login_network
stdin_open
:
true
stdin_open
:
true
tty
:
true
tty
:
true
volumes
:
volumes
:
dbdata
:
dbdata
:
\ No newline at end of file
networks
:
login_network
:
driver
:
bridge
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment