dwilliamhouston / Calishot-2.0

3 stars 3 forks source link

Change Docker Container so databases sit outside of container. #10

Closed dwilliamhouston closed 8 months ago

dwilliamhouston commented 9 months ago

Move databases outside of container

dwilliamhouston commented 9 months ago

Added capabilities, just need to test it.

dwilliamhouston commented 9 months ago

Test failed. Need to relook at this.

dwilliamhouston commented 8 months ago

Moved the database and all data files to /data directory

dwilliamhouston commented 8 months ago

Tested and works. Now have to start up app with the following:

docker run -p 5002:5000 -v /opt/shodantest2/data:/app/data dwilliamhouston/shodantest2:latest datasette -p 5000 --config sql_time_limit_ms:50000 --config allow_download:off --config max_returned_rows:2000 --config num_sql_threads:10 --config allow_csv_stream:off --metadata metadata.json