mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -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
|
||||
VOLUME /srv/http/u/
|
||||
VOLUME /srv/http/
|
||||
VOLUME /var/log/nginx
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
2
Makefile
2
Makefile
@@ -10,7 +10,7 @@ build:
|
||||
docker build -t $(REPO) .
|
||||
|
||||
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:
|
||||
docker stop $(NAME)
|
||||
|
||||
Reference in New Issue
Block a user