29d496ae by Jeff Balicki

docker

1 parent 6d5c0b72
mysql:
image: mysql/mysql-server
environment:
- DB_USER=root
- DB_PASS=root
- DB_NAME=banners
ports:
- "10093:3306"
web:
# build: docker/web
image: banners_web
......
......@@ -25,7 +25,7 @@
<body><div id="login"><?php
<?php
include_once("./config.php");
include_once("includes/functions.php");
......@@ -53,7 +53,7 @@
} else {
$authUrl = $gClient->createAuthUrl();
}
echo '<img src="tenzing.gif" width="259" alt="Tenzing" /></br>';
echo '<body><div id="login"><img src="tenzing.gif" width="259" alt="Tenzing" /></br>';
if(isset($authUrl)) {
echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>';
} else {
......