Scaffold containerized Django/Wagtail app with core features

This commit is contained in:
Codex_B
2026-02-28 11:52:59 +00:00
parent 62323abd62
commit b5f0f40c4c
84 changed files with 1647 additions and 0 deletions

31
docker-compose.yml Normal file
View File

@@ -0,0 +1,31 @@
services:
web:
build: .
container_name: nohype-web
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
ports:
- "8035:8000"
env_file:
- .env
environment:
DATABASE_URL: postgres://nohype:nohype@db:5432/nohype
DJANGO_SETTINGS_MODULE: config.settings.development
depends_on:
- db
db:
image: postgres:16-alpine
container_name: nohype-db
environment:
POSTGRES_DB: nohype
POSTGRES_USER: nohype
POSTGRES_PASSWORD: nohype
ports:
- "5545:5432"
volumes:
- nohype_pg:/var/lib/postgresql/data
volumes:
nohype_pg: