Expose the port in docker
このコミットが含まれているのは:
コミット
de99762b07
@ -18,7 +18,7 @@ The instances list is in the [wiki](https://codeberg.org/gothub/gothub/wiki/Inst
|
||||
We recommend Docker as it is easy to update GotHub that way and it is easy to setup.
|
||||
[Packages page](https://codeberg.org/gothub/-/packages/container/gothub/latest)
|
||||
```
|
||||
docker run -d --name gothub codeberg.org/gothub/gothub
|
||||
docker run -d -p 3000:3000 --name gothub codeberg.org/gothub/gothub
|
||||
```
|
||||
|
||||
If you are using Portainer or Podman, you know how to create the GotHub container.
|
||||
@ -32,4 +32,4 @@ go build -o gothub
|
||||
./gothub serve
|
||||
```
|
||||
|
||||
If you don't want to use port 3000 for GotHub, set the GOTHUB_PORT environment variable to the port you want to use.
|
||||
If you don't want to use port 3000 for GotHub, set the GOTHUB_PORT environment variable to the port you want to use.
|
||||
|
読み込み中…
新しいイシューから参照
ユーザーをブロックする