fix: remove server-specific playwright volume from dev compose, auto-seed on startup
- /opt/playwright-tools/browsers only exists on agent-workspace; mounting it in docker-compose.yml breaks local dev for everyone else - seed_e2e_content is idempotent so safe to run on every startup; removes the manual step that nobody knew about Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -4,10 +4,10 @@ services:
|
||||
working_dir: /app
|
||||
command: >
|
||||
sh -c "python manage.py migrate --noinput &&
|
||||
python manage.py seed_e2e_content &&
|
||||
python manage.py runserver 0.0.0.0:8000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- /opt/playwright-tools/browsers:/opt/playwright-tools/browsers:ro
|
||||
ports:
|
||||
- "8035:8000"
|
||||
environment:
|
||||
@@ -22,7 +22,6 @@ services:
|
||||
EMAIL_BACKEND: django.core.mail.backends.console.EmailBackend
|
||||
DEFAULT_FROM_EMAIL: hello@nohypeai.com
|
||||
NEWSLETTER_PROVIDER: buttondown
|
||||
PLAYWRIGHT_BROWSERS_PATH: /opt/playwright-tools/browsers
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user