Added query string as configurable (Docker) environment variable

This commit is contained in:
Heiko Joerg Schick
2023-09-07 16:02:09 +02:00
parent 6a4b1176c6
commit 169db54df2
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -16,7 +16,8 @@ services:
volumes:
- /Users/schihei/git/arxiv-sanity-lite/container-data/data/:/app/data
- /Users/schihei/git/arxiv-sanity-lite/container-data/static/thumb/:/app/static/thumb
environment:
- ARXIV_QUERY=cat:cs.CV+OR+cat:cs.LG+OR+cat:cs.CL+OR+cat:cs.AI+OR+cat:cs.NE+OR+cat:cs.RO+OR+cat:cs.AR+OR+cat:cs.DC
# The commented out section below is an example of how to define a PostgreSQL
# database that your application can use. `depends_on` tells Docker Compose to
# start the database before your application. The `db-data` volume persists the
@@ -49,4 +50,3 @@ services:
# secrets:
# db-password:
# file: db/password.txt