stabilize daemon sync and docker startup
This commit is contained in:
@@ -3,10 +3,13 @@ services:
|
||||
build: .
|
||||
container_name: iaai-scraper
|
||||
env_file:
|
||||
- .env
|
||||
- path: .env
|
||||
required: false
|
||||
volumes:
|
||||
- ./:/app
|
||||
- /app/.venv
|
||||
- /app/__pycache__
|
||||
working_dir: /app
|
||||
command: python main.py --help
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 30s
|
||||
command: python main.py run-daemon
|
||||
|
||||
Reference in New Issue
Block a user