Skip to content
Snippets Groups Projects
Commit 325d974c authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

add adminer

parent e0bb5f7d
Branches
No related tags found
No related merge requests found
...@@ -243,11 +243,15 @@ final class Compile extends Command ...@@ -243,11 +243,15 @@ final class Compile extends Command
$creator->addService('redis-server', 'redis:latest', [ $creator->addService('redis-server', 'redis:latest', [
'container_name' => 'redis', 'container_name' => 'redis',
'restart' => 'always', 'restart' => 'always',
'ports' => ['6379:6379'],
'volumes' => ['cache-data:/data'], 'volumes' => ['cache-data:/data'],
]); ]);
$creator->addVolume('cache-data'); $creator->addVolume('cache-data');
$creator->addService('adminer', 'adminer', [
'restart' => 'always',
'ports' => ['8044:8080'],
]);
return $creator->dump(); return $creator->dump();
} }
......
...@@ -35,6 +35,9 @@ body { ...@@ -35,6 +35,9 @@ body {
.tabs a:focus { .tabs a:focus {
font-weight: bold; font-weight: bold;
} }
.tabs .right {
float: right;
}
section { section {
padding-top: 1.5em; padding-top: 1.5em;
......
...@@ -23,7 +23,7 @@ $log = new LogParser(__DIR__ . '/../logs/php/error.log'); ...@@ -23,7 +23,7 @@ $log = new LogParser(__DIR__ . '/../logs/php/error.log');
<a href="#logs">Logs</a> <a href="#logs">Logs</a>
</span> </span>
<span> <span class="right">
<a href="http://localhost:8044?username=root" target="_blank"> <a href="http://localhost:8044?username=root" target="_blank">
Adminer Adminer
</a> </a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment