change to ghcr.

This commit is contained in:
Miroslav Šedivý
2025-04-03 21:16:44 +02:00
parent 2d2dc09433
commit 2f6804a8a5
6 changed files with 25 additions and 23 deletions
+5 -5
View File
@@ -381,7 +381,7 @@ components:
type: array type: array
items: items:
type: string type: string
example: m1k1o/neko:latest example: ghcr.io/m1k1o/neko/firefox:latest
storage_enabled: storage_enabled:
type: boolean type: boolean
example: true example: true
@@ -403,7 +403,7 @@ components:
example: foobar example: foobar
neko_image: neko_image:
type: string type: string
example: m1k1o/neko:latest example: ghcr.io/m1k1o/neko/firefox:latest
is_outdated: is_outdated:
type: boolean type: boolean
example: true example: true
@@ -481,7 +481,7 @@ components:
example: foobar example: foobar
neko_image: neko_image:
type: string type: string
example: m1k1o/neko:latest example: ghcr.io/m1k1o/neko/firefox:latest
max_connections: max_connections:
type: number type: number
default: 10 default: 10
@@ -653,7 +653,7 @@ components:
properties: properties:
neko_image: neko_image:
type: string type: string
example: m1k1o/neko:latest example: ghcr.io/m1k1o/neko/firefox:latest
registry_user: registry_user:
type: string type: string
registry_pass: registry_pass:
@@ -664,7 +664,7 @@ components:
properties: properties:
status: status:
type: string type: string
example: m1k1o/neko:latest example: ghcr.io/m1k1o/neko/firefox:latest
progressDetail: progressDetail:
type: object type: object
properties: properties:
+2 -2
View File
@@ -51,8 +51,8 @@ Otherwise modify variables in `docker-compose.yml` and just run `docker-compose
You need to pull all your images, that you want to use with neko-room. Otherwise, you might get this error: `Error response from daemon: No such image:` (see issue #1). You need to pull all your images, that you want to use with neko-room. Otherwise, you might get this error: `Error response from daemon: No such image:` (see issue #1).
```sh ```sh
docker pull m1k1o/neko:firefox docker pull ghcr.io/m1k1o/neko/firefox
docker pull m1k1o/neko:chromium docker pull ghcr.io/m1k1o/neko/chromium
# etc... # etc...
``` ```
+1 -1
View File
@@ -14,5 +14,5 @@ However, there are some usecases, when this might come in handy:
In order to pull new images run: In order to pull new images run:
```sh ```sh
docker-compose exec neko-rooms docker pull m1k1o/neko:chromium docker-compose exec neko-rooms docker pull ghcr.io/m1k1o/neko/chromium
``` ```
+2 -2
View File
@@ -37,8 +37,8 @@ docker run -d \
--entrypoints.web.address=:80; --entrypoints.web.address=:80;
# pull some neko images... # pull some neko images...
docker pull m1k1o/neko:firefox docker pull ghcr.io/m1k1o/neko/firefox
docker pull m1k1o/neko:chromium docker pull ghcr.io/m1k1o/neko/chromium
# #
# (re)start neko-rooms # (re)start neko-rooms
+14 -12
View File
@@ -64,18 +64,20 @@ func (Room) Init(cmd *cobra.Command) error {
} }
cmd.PersistentFlags().StringSlice("neko_images", []string{ cmd.PersistentFlags().StringSlice("neko_images", []string{
"m1k1o/neko:firefox", "ghcr.io/m1k1o/neko/firefox",
"m1k1o/neko:chromium", "ghcr.io/m1k1o/neko/waterfox",
"m1k1o/neko:google-chrome", "ghcr.io/m1k1o/neko/tor-browser",
"m1k1o/neko:ungoogled-chromium", "ghcr.io/m1k1o/neko/chromium",
"m1k1o/neko:microsoft-edge", "ghcr.io/m1k1o/neko/google-chrome",
"m1k1o/neko:brave", "ghcr.io/m1k1o/neko/ungoogled-chromium",
"m1k1o/neko:vivaldi", "ghcr.io/m1k1o/neko/microsoft-edge",
"m1k1o/neko:tor-browser", "ghcr.io/m1k1o/neko/brave",
"m1k1o/neko:vlc", "ghcr.io/m1k1o/neko/vivaldi",
"m1k1o/neko:remmina", "ghcr.io/m1k1o/neko/opera",
"m1k1o/neko:xfce", "ghcr.io/m1k1o/neko/remmina",
"m1k1o/neko:kde", "ghcr.io/m1k1o/neko/vlc",
"ghcr.io/m1k1o/neko/xfce",
"ghcr.io/m1k1o/neko/kde",
}, "neko images to be used") }, "neko images to be used")
if err := viper.BindPFlag("neko_images", cmd.PersistentFlags().Lookup("neko_images")); err != nil { if err := viper.BindPFlag("neko_images", cmd.PersistentFlags().Lookup("neko_images")); err != nil {
return err return err
+1 -1
View File
@@ -202,7 +202,7 @@ echo "[Y] Got all settings..."
# Create env # Create env
# #
NEKO_IMAGES=(m1k1o/neko:firefox m1k1o/neko:chromium m1k1o/neko:google-chrome) NEKO_IMAGES=(ghcr.io/m1k1o/neko/firefox ghcr.io/m1k1o/neko/chromium ghcr.io/m1k1o/neko/google-chrome)
{ {
echo "TZ=${TZ}" echo "TZ=${TZ}"