mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
change to ghcr.
This commit is contained in:
+5
-5
@@ -381,7 +381,7 @@ components:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
example: m1k1o/neko:latest
|
||||
example: ghcr.io/m1k1o/neko/firefox:latest
|
||||
storage_enabled:
|
||||
type: boolean
|
||||
example: true
|
||||
@@ -403,7 +403,7 @@ components:
|
||||
example: foobar
|
||||
neko_image:
|
||||
type: string
|
||||
example: m1k1o/neko:latest
|
||||
example: ghcr.io/m1k1o/neko/firefox:latest
|
||||
is_outdated:
|
||||
type: boolean
|
||||
example: true
|
||||
@@ -481,7 +481,7 @@ components:
|
||||
example: foobar
|
||||
neko_image:
|
||||
type: string
|
||||
example: m1k1o/neko:latest
|
||||
example: ghcr.io/m1k1o/neko/firefox:latest
|
||||
max_connections:
|
||||
type: number
|
||||
default: 10
|
||||
@@ -653,7 +653,7 @@ components:
|
||||
properties:
|
||||
neko_image:
|
||||
type: string
|
||||
example: m1k1o/neko:latest
|
||||
example: ghcr.io/m1k1o/neko/firefox:latest
|
||||
registry_user:
|
||||
type: string
|
||||
registry_pass:
|
||||
@@ -664,7 +664,7 @@ components:
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
example: m1k1o/neko:latest
|
||||
example: ghcr.io/m1k1o/neko/firefox:latest
|
||||
progressDetail:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
@@ -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).
|
||||
|
||||
```sh
|
||||
docker pull m1k1o/neko:firefox
|
||||
docker pull m1k1o/neko:chromium
|
||||
docker pull ghcr.io/m1k1o/neko/firefox
|
||||
docker pull ghcr.io/m1k1o/neko/chromium
|
||||
# etc...
|
||||
```
|
||||
|
||||
|
||||
+1
-1
@@ -14,5 +14,5 @@ However, there are some usecases, when this might come in handy:
|
||||
In order to pull new images run:
|
||||
|
||||
```sh
|
||||
docker-compose exec neko-rooms docker pull m1k1o/neko:chromium
|
||||
docker-compose exec neko-rooms docker pull ghcr.io/m1k1o/neko/chromium
|
||||
```
|
||||
|
||||
@@ -37,8 +37,8 @@ docker run -d \
|
||||
--entrypoints.web.address=:80;
|
||||
|
||||
# pull some neko images...
|
||||
docker pull m1k1o/neko:firefox
|
||||
docker pull m1k1o/neko:chromium
|
||||
docker pull ghcr.io/m1k1o/neko/firefox
|
||||
docker pull ghcr.io/m1k1o/neko/chromium
|
||||
|
||||
#
|
||||
# (re)start neko-rooms
|
||||
|
||||
+14
-12
@@ -64,18 +64,20 @@ func (Room) Init(cmd *cobra.Command) error {
|
||||
}
|
||||
|
||||
cmd.PersistentFlags().StringSlice("neko_images", []string{
|
||||
"m1k1o/neko:firefox",
|
||||
"m1k1o/neko:chromium",
|
||||
"m1k1o/neko:google-chrome",
|
||||
"m1k1o/neko:ungoogled-chromium",
|
||||
"m1k1o/neko:microsoft-edge",
|
||||
"m1k1o/neko:brave",
|
||||
"m1k1o/neko:vivaldi",
|
||||
"m1k1o/neko:tor-browser",
|
||||
"m1k1o/neko:vlc",
|
||||
"m1k1o/neko:remmina",
|
||||
"m1k1o/neko:xfce",
|
||||
"m1k1o/neko:kde",
|
||||
"ghcr.io/m1k1o/neko/firefox",
|
||||
"ghcr.io/m1k1o/neko/waterfox",
|
||||
"ghcr.io/m1k1o/neko/tor-browser",
|
||||
"ghcr.io/m1k1o/neko/chromium",
|
||||
"ghcr.io/m1k1o/neko/google-chrome",
|
||||
"ghcr.io/m1k1o/neko/ungoogled-chromium",
|
||||
"ghcr.io/m1k1o/neko/microsoft-edge",
|
||||
"ghcr.io/m1k1o/neko/brave",
|
||||
"ghcr.io/m1k1o/neko/vivaldi",
|
||||
"ghcr.io/m1k1o/neko/opera",
|
||||
"ghcr.io/m1k1o/neko/remmina",
|
||||
"ghcr.io/m1k1o/neko/vlc",
|
||||
"ghcr.io/m1k1o/neko/xfce",
|
||||
"ghcr.io/m1k1o/neko/kde",
|
||||
}, "neko images to be used")
|
||||
if err := viper.BindPFlag("neko_images", cmd.PersistentFlags().Lookup("neko_images")); err != nil {
|
||||
return err
|
||||
|
||||
+1
-1
@@ -202,7 +202,7 @@ echo "[Y] Got all settings..."
|
||||
# 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}"
|
||||
|
||||
Reference in New Issue
Block a user