services: web: build: . working_dir: /app command: > sh -c "python manage.py migrate --noinput && python manage.py runserver 0.0.0.0:8000" volumes: - .:/app - /opt/playwright-tools/browsers:/opt/playwright-tools/browsers:ro ports: - "8035:8000" environment: SECRET_KEY: dev-secret-key DEBUG: "1" ALLOWED_HOSTS: localhost,127.0.0.1,web WAGTAIL_SITE_NAME: No Hype AI DATABASE_URL: postgres://nohype:nohype@db:5432/nohype DJANGO_SETTINGS_MODULE: config.settings.development WAGTAILADMIN_BASE_URL: http://localhost:8035 CONSENT_POLICY_VERSION: "1" 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 db: image: postgres:16-alpine environment: POSTGRES_DB: nohype POSTGRES_USER: nohype POSTGRES_PASSWORD: nohype volumes: - nohype_pg:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U nohype -d nohype"] interval: 5s timeout: 5s retries: 10 start_period: 5s volumes: nohype_pg: