29d496ae by Jeff Balicki

docker

1 parent 6d5c0b72
1 mysql:
2 image: mysql/mysql-server
3 environment:
4 - DB_USER=root
5 - DB_PASS=root
6 - DB_NAME=banners
7
8 ports:
9 - "10093:3306"
10
1 web: 11 web:
2 # build: docker/web 12 # build: docker/web
3 image: banners_web 13 image: banners_web
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 25
26 26
27 27
28 <body><div id="login"><?php 28 <?php
29 29
30 include_once("./config.php"); 30 include_once("./config.php");
31 include_once("includes/functions.php"); 31 include_once("includes/functions.php");
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 } else { 53 } else {
54 $authUrl = $gClient->createAuthUrl(); 54 $authUrl = $gClient->createAuthUrl();
55 } 55 }
56 echo '<img src="tenzing.gif" width="259" alt="Tenzing" /></br>'; 56 echo '<body><div id="login"><img src="tenzing.gif" width="259" alt="Tenzing" /></br>';
57 if(isset($authUrl)) { 57 if(isset($authUrl)) {
58 echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>'; 58 echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>';
59 } else { 59 } else {
......