mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -05:00
Fixing #55
This commit is contained in:
@@ -12,7 +12,8 @@ RUN apk upgrade --update --available && \
|
|||||||
bash \
|
bash \
|
||||||
vim \
|
vim \
|
||||||
supervisor \
|
supervisor \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/* \
|
||||||
|
&& chmod -R 755 /var/lib/nginx
|
||||||
|
|
||||||
ADD www /srv/http
|
ADD www /srv/http
|
||||||
ADD nginx.conf /etc/nginx/nginx.conf
|
ADD nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Requires=docker.service
|
|||||||
TimeoutStartSec=0
|
TimeoutStartSec=0
|
||||||
ExecStartPre=-/usr/bin/docker kill greptweet1
|
ExecStartPre=-/usr/bin/docker kill greptweet1
|
||||||
ExecStartPre=-/usr/bin/docker rm greptweet1
|
ExecStartPre=-/usr/bin/docker rm greptweet1
|
||||||
ExecStart=/usr/bin/docker run --name greptweet1 -v /srv/www/greptweet.com:/srv/http/u -p 80:80 hendry/greptweet
|
ExecStart=/usr/bin/docker run --name greptweet1 -v /srv/www/greptweet.com:/srv/http/u -v /home/core/greptweet/www:/srv/http/ -p 80:80 hendry/greptweet
|
||||||
ExecStop=/usr/bin/docker stop greptweet1
|
ExecStop=/usr/bin/docker stop greptweet1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@@ -24,18 +24,11 @@
|
|||||||
<button class="btn btn-primary btn-lg" id="b" type="submit">Fetch tweets</button>
|
<button class="btn btn-primary btn-lg" id="b" type="submit">Fetch tweets</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p>Tutorial video:
|
|
||||||
<video controls preload="none">
|
|
||||||
<source src='gt-intro.mp4' type='video/mp4'>
|
|
||||||
<track label="English subtitles" kind="subtitles" srclang="en" src="gt-intro.vtt" default>
|
|
||||||
</video>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
<p><a href=tut-video.html>Tutorial screencast</a></p>
|
||||||
<p>Version: <a href=https://github.com/kaihendry/Greptweet/commit/<?php include("version.txt"); ?>>
|
<p>Version: <a href=https://github.com/kaihendry/Greptweet/commit/<?php include("version.txt"); ?>>
|
||||||
<?php include("version.txt"); ?>
|
<?php include("version.txt"); ?>
|
||||||
</a></p>
|
</a></p>
|
||||||
<p><?php echo 'Current PHP version: ' . phpversion();?></p>
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user