fix: add missing default config into the docker image

This commit is contained in:
Oleg Lobanov 2021-03-07 15:23:12 +01:00
parent 2fccb8c367
commit 7358b3fe31
No known key found for this signature in database
GPG Key ID: 7CC64E41212621B0
3 changed files with 17 additions and 0 deletions

8
.docker.json Normal file
View File

@ -0,0 +1,8 @@
{
"port": 80,
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/database.db",
"root": "/srv"
}

View File

@ -59,6 +59,8 @@ dockers:
image_templates:
- "filebrowser/filebrowser:{{ .Tag }}-amd64"
- "filebrowser/filebrowser:v{{ .Major }}-amd64"
extra_files:
- .docker.json
-
dockerfile: Dockerfile
use_buildx: true
@ -75,6 +77,8 @@ dockers:
image_templates:
- "filebrowser/filebrowser:{{ .Tag }}-arm64"
- "filebrowser/filebrowser:v{{ .Major }}-arm64"
extra_files:
- .docker.json
-
dockerfile: Dockerfile
use_buildx: true
@ -92,6 +96,8 @@ dockers:
image_templates:
- "filebrowser/filebrowser:{{ .Tag }}-armv6"
- "filebrowser/filebrowser:v{{ .Major }}-armv6"
extra_files:
- .docker.json
-
dockerfile: Dockerfile
use_buildx: true
@ -109,6 +115,8 @@ dockers:
image_templates:
- "filebrowser/filebrowser:{{ .Tag }}-armv7"
- "filebrowser/filebrowser:v{{ .Major }}-armv7"
extra_files:
- .docker.json
docker_manifests:
- name_template: "filebrowser/filebrowser:latest"
image_templates:

View File

@ -5,6 +5,7 @@ RUN apk --update add mailcap
VOLUME /srv
EXPOSE 80
COPY .docker.json /.filebrowser.json
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser" ]