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: ...@@ -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
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