From 3ef752464c44ee20ad752990c1da10df331d9b72 Mon Sep 17 00:00:00 2001 From: Ian Neubert Date: Wed, 29 Apr 2015 09:16:05 -0700 Subject: [PATCH] Dockerfile: Set default database driver and source This will allow a default install to make use of the /var/lib/drone volume without having to set this manually. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0ec503c6..d42e98f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,7 @@ RUN apt-get -y install zip libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null RUN make docker deps build embed install EXPOSE 80 +ENV DRONE_DATABASE_DATASOURCE /var/lib/drone/drone.sqlite +ENV DRONE_DATABASE_DRIVER sqlite3 VOLUME ["/var/lib/drone"] ENTRYPOINT ["/usr/local/bin/droned"]