inital checkin
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:16
|
||||
environment:
|
||||
POSTGRES_DB: rigby_db
|
||||
POSTGRES_USER: rigby_user
|
||||
POSTGRES_PASSWORD: rigby_password
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5433:5432"
|
||||
|
||||
web:
|
||||
build: .
|
||||
command: uv run python manage.py runserver 0.0.0.0:8000
|
||||
volumes:
|
||||
- .:/app
|
||||
ports:
|
||||
- "8888:8000"
|
||||
environment:
|
||||
- DATABASE_URL=postgres://rigby_user:rigby_password@db:5432/rigby_db
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user