Pratyush Desai
5da520bc9d
Base Functionality added. Adding a Server with the image port ip and other params specified will spawn a container and one can manage the lifecycle in the admin panel and the game server detail view updates based on container status. Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
23 lines
530 B
Python
23 lines
530 B
Python
# Generated by Django 5.1.5 on 2025-01-19 21:36
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("webpanel", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="server",
|
|
name="docker_image",
|
|
field=models.CharField(
|
|
help_text="Enter the Docker image name (e.g., lacledeslan/gamesvr-hl2dm)",
|
|
max_length=200,
|
|
null=True,
|
|
),
|
|
),
|
|
]
|