Files
main-site/docker-compose.yml
Codex_B 06be5d6752
Some checks failed
CI / lint (pull_request) Failing after 6s
CI / typecheck (pull_request) Failing after 6s
CI / tests (pull_request) Failing after 8s
CI: isolate compose projects and remove runner container conflicts
2026-02-28 12:56:44 +00:00

35 lines
890 B
YAML

services:
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
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
depends_on:
- db
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: nohype
POSTGRES_USER: nohype
POSTGRES_PASSWORD: nohype
volumes:
- nohype_pg:/var/lib/postgresql/data
volumes:
nohype_pg: