diff --git a/.dockerignore b/.dockerignore index ee647f5..59c7e3d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,5 @@ README.md -docker-compose.yml +*compose.yml Dockerfile .gitignore traefik-lazyload \ No newline at end of file diff --git a/.gitignore b/.gitignore index de4cb2e..75dbf77 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -traefik-lazyload \ No newline at end of file +# Binary +traefik-lazyload + +# Various testing/compose files +*compose.yml \ No newline at end of file diff --git a/assets.go b/assets.go index 96ea09f..6ee5713 100644 --- a/assets.go +++ b/assets.go @@ -14,10 +14,8 @@ var httpAssets embed.FS const httpAssetPrefix = "/__llassets/" type SplashModel struct { - Name string - CID string - WaitForCode int - WaitForPath string + *service.ContainerState + Name string } var splashTemplate = template.Must(template.ParseFS(httpAssets, path.Join("assets", config.Model.Splash))) diff --git a/assets/splash.html b/assets/splash.html index f10455a..69d6d5d 100644 --- a/assets/splash.html +++ b/assets/splash.html @@ -23,13 +23,13 @@