Merge pull request #996 from ianneub/default-data-driver
Dockerfile: Set default database driver and source
This commit is contained in:
commit
ad2a3bf18d
1 changed files with 2 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue