Page MenuHomeDevCentral

No OneTemporary

diff --git a/.env b/.env
new file mode 100644
index 0000000..4a8d573
--- /dev/null
+++ b/.env
@@ -0,0 +1,13 @@
+APP_ENV=production
+APP_DEBUG=false
+APP_URL=http://localhost
+
+DB_DRIVER=mysql
+DB_HOST=mysql
+DB_DATABASE=cachet
+DB_USERNAME=cachet
+
+CACHE_DRIVER=file
+SESSION_DRIVER=file
+QUEUE_DRIVER=database
+CACHET_EMOJI=false
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..fb2df4b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+#
+# Nasqueron - Cachet image
+#
+
+FROM nasqueron/nginx-php-fpm:novolume
+MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
+
+#
+# Prepare the container
+#
+
+USER app
+WORKDIR /var/wwwroot/default
+
+RUN git init && git remote add origin https://github.com/cachethq/Cachet.git && \
+ git fetch && git checkout -t origin/master && \
+ wget https://raw.githubusercontent.com/nasqueron/docker-cachet/master/.env && \
+ composer install --no-dev -o && \
+ php artisan migrate && \
+ php artisan key:generate && \
+ php artisan config:cache
+
+#
+# Run the container
+#
+
+USER root

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 14:18 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260344
Default Alt Text
(1 KB)

Event Timeline