mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-03 21:22:25 +00:00
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.
This commit is contained in:
parent
758910cbca
commit
3ef752464c
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 docker deps build embed install
|
RUN make docker deps build embed install
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
ENV DRONE_DATABASE_DATASOURCE /var/lib/drone/drone.sqlite
|
||||||
|
ENV DRONE_DATABASE_DRIVER sqlite3
|
||||||
VOLUME ["/var/lib/drone"]
|
VOLUME ["/var/lib/drone"]
|
||||||
ENTRYPOINT ["/usr/local/bin/droned"]
|
ENTRYPOINT ["/usr/local/bin/droned"]
|
||||||
|
|
Loading…
Reference in a new issue