From 23485ba53b070dcccee68e6229a67bf8f71bd979 Mon Sep 17 00:00:00 2001 From: Andrei Poenaru Date: Tue, 5 Sep 2017 00:45:27 +0100 Subject: [PATCH] Add note about GA being disabled by default. --- Dockerfile | 2 +- README.md | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4fe1959..c9627f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:latest MAINTAINER Alex Kern -ENV DISABLE_GA no +ENV DISABLE_GA yes COPY . ./ RUN npm install && npm run build diff --git a/README.md b/README.md index 55c224a..f6515af 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Using [WebRTC](http://www.webrtc.org), FilePizza eliminates the initial upload s A hosted instance of FilePizza is available at [file.pizza](https://file.pizza). +The Dockerfile in this branch is modified to disable Google Analytics by default, which should be preferable for self-hosted instances. + ## Requirements * node `0.12.x` @@ -13,9 +15,9 @@ A hosted instance of FilePizza is available at [file.pizza](https://file.pizza). ## Installation -The recommended way to deploy FilePizza is as a [Docker container](https://hub.docker.com/r/kern/filepizza). +The recommended way to deploy FilePizza is as a [Docker container](https://hub.docker.com/r/andreipoe/filepizza-no-ga). - $ docker run -p 8080:8080 -e PORT=8080 -it kern/filepizza:latest + $ docker run -d --name filepizza --restart unless-stopped -p 8080:8080 -e PORT=8080 andreipoe/filepizza-no-ga You can also use [zeit/now](https://zeit.co/now): @@ -25,7 +27,7 @@ If you'd like to use [Twilio's STUN/TURN service](https://www.twilio.com/stun-tu ## Development - $ git clone https://github.com/kern/filepizza.git + $ git clone https://github.com/andreipoe/filepizza.git -b disable-ga $ npm install $ npm build $ npm start