-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Use the latest version of datasette FROM datasetteproject/datasette:0.56 or above and revert back to using the configuration directory mode, https://docs.datasette.io/en/latest/settings.html#configuration-directory-mode
- update the compose cmd
command: ["datasette", "-p", "80", "-h", "0.0.0.0", "--cors", "-i", "databases/darien.db", "-i", "databases/gorongosa.db", "-i", "databases/kenya.db", "--plugins-dir=databases/plugins", "--inspect-file=databases/inspect-data.json", "--setting", "sql_time_limit_ms", "60000", "--setting", "max_returned_rows", "2000", "--setting", "hash_urls", "1"] - update the CMD in docker file
Line 33 in 1ded1dc
CMD ["datasette", "-p", "80", "-h", "0.0.0.0", "--cors", "-i", "databases/darien.db", "-i", "databases/gorongosa.db", "-i", "databases/kenya.db", "--plugins-dir=databases/plugins", "--inspect-file=databases/inspect-data.json", "--setting", "sql_time_limit_ms", "60000", "--setting", "max_returned_rows", "2000", "--setting", "hash_urls", "1"]
Note: it appears that version 0.56 breaks the use of apt update / install etc in the base image, see simonw/datasette#1296 for how to fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels