Commit d470f6ed authored by Yankova, Liliya (UG - Computer Science)'s avatar Yankova, Liliya (UG - Computer Science)
Browse files

Added networks for the 2 containers;

parent 8e0e3958
......@@ -17,7 +17,10 @@ services:
ports:
- "9906:3306"
expose:
- "9906"
- "9906"
networks:
- login_network
web:
build: ./php
image: php:7.2.2-apache
......@@ -28,8 +31,14 @@ services:
- ./php/:/var/www/html/
ports:
- "8000:80"
networks:
- login_network
stdin_open: true
tty: true
volumes:
dbdata:
\ No newline at end of file
dbdata:
networks:
login_network:
driver: bridge
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment