Merge pull request #996 from ianneub/default-data-driver

Dockerfile: Set default database driver and source
This commit is contained in:
Brad Rydzewski 2015-10-22 17:59:42 -07:00
commit ad2a3bf18d

View file

@ -13,5 +13,7 @@ RUN apt-get -y install zip libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
RUN make 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"]