more podman fixes
This commit is contained in:
@@ -2,11 +2,10 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: git.sneakygeek.net/sneakygeek/sneakyscan:master
|
||||
build: .
|
||||
container_name: sneakyscanner-web
|
||||
# Use entrypoint script that auto-initializes database on first run
|
||||
entrypoint: ["/docker-entrypoint.sh"]
|
||||
command: ["python3", "-u", "-m", "web.app"]
|
||||
working_dir: /app
|
||||
entrypoint: ["python3", "-u", "-m", "web.app"]
|
||||
# Note: Using host network mode for scanner capabilities, so no port mapping needed
|
||||
# The Flask app will be accessible at http://localhost:5000
|
||||
volumes:
|
||||
@@ -58,7 +57,7 @@ services:
|
||||
# Optional: Initialize database on first run
|
||||
# Run with: docker-compose -f docker-compose-web.yml run --rm init-db
|
||||
init-db:
|
||||
image: git.sneakygeek.net/sneakygeek/sneakyscan:master
|
||||
build: .
|
||||
container_name: sneakyscanner-init-db
|
||||
entrypoint: ["python3"]
|
||||
command: ["init_db.py", "--db-url", "sqlite:////app/data/sneakyscanner.db"]
|
||||
|
||||
Reference in New Issue
Block a user