Expose the port in docker

このコミットが含まれているのは:
Midou36O 2022-12-17 20:48:50 +01:00
コミット de99762b07
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 08063D5407090BC2

ファイルの表示

@ -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.