mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02: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
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user