1
0
mirror of https://github.com/x86dev/docker-ttrss synced 2025-12-13 01:46:00 +00:00

Dockerfile is now based on phusion/baseimage and enables mandatory https

access via a self-signed certificate.
This commit is contained in:
andy
2014-05-19 09:33:44 +02:00
parent 18138ce567
commit 264d1a67d7
11 changed files with 89 additions and 53 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php
include '/utils.php';
include '/root/utils.php';
$ename = 'DB';
$eport = 5432;
@@ -52,6 +52,7 @@ if (!dbcheck($config)) {
$pdo = dbconnect($config);
try {
$pdo->query('SELECT 1 FROM ttrss_feeds');
echo 'Connection to database successful';
// reached this point => table found, assume db is complete
}
catch (PDOException $e) {