mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 20:21:05 -05:00
Experimenting with https://github.com/allinurl/goaccess/issues/311#issuecomment-147067909
This commit is contained in:
@@ -22,6 +22,7 @@ ADD nginx.ini /etc/supervisor.d/nginx.ini
|
|||||||
RUN mkdir -p /srv/http/u
|
RUN mkdir -p /srv/http/u
|
||||||
VOLUME /srv/http/u/
|
VOLUME /srv/http/u/
|
||||||
VOLUME /srv/http/
|
VOLUME /srv/http/
|
||||||
|
VOLUME /var/log/nginx
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -10,7 +10,7 @@ build:
|
|||||||
docker build -t $(REPO) .
|
docker build -t $(REPO) .
|
||||||
|
|
||||||
start:
|
start:
|
||||||
docker run -d --name $(NAME) -v /mnt/2tb/greptweet/:/srv/http/u -v $(PWD)/www:/srv/http/ -p 81:80 $(REPO)
|
docker run -d --name $(NAME) -v /mnt/2tb/greptweet/:/srv/http/u -v $(PWD)/www:/srv/http/ -v $(PWD)/logs:/var/log/nginx/ -p 81:80 $(REPO)
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
docker stop $(NAME)
|
docker stop $(NAME)
|
||||||
|
|||||||
Reference in New Issue
Block a user