-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
37 lines (31 loc) · 966 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ghcr.io/bfren/nginx-php:php8.4.4-7.3.5
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-freshrss"
ARG BF_IMAGE
ARG BF_PUBLISHING
ARG BF_VERSION
COPY ./overlay /
ENV \
# server environment ('production' or 'development' for additional log messages)
BF_FR_ENVIRONMENT="production" \
# base URL of FreshRSS instance
BF_FR_BASE_URL= \
# display language (see FreshRSS documentation for supported language)
BF_FR_LANGUAGE="en" \
# default user name
BF_FR_USER_NAME= \
# default user password
BF_FR_USER_PASS= \
# database type ('sqlite', 'mysql' or 'pgsql')
BF_FR_DB_TYPE="mysql" \
# database host
BF_FR_DB_HOST= \
# database user
BF_FR_DB_USER= \
# database password
BF_FR_DB_PASS= \
# database name
BF_FR_DB_NAME="freshrss"\
# database table prefix (will have an underscore added, e.g. 'fr_')
BF_FR_DB_PREFIX="fr"
RUN bf-install
VOLUME [ "/data" ]