File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11run :
22 go run cmds/main.go --postgres-host localhost --postgres-port 5432 --postgres-db postgres --postgres-user postgres --postgres-password password --domain localhost --server-port 8080
33
4- postgres :
4+ start- postgres :
55 docker run --name postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=postgres -p 5432:5432 -d postgres
66
77stop-postgres :
Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ Replace `<domain>` and `<port>` with the appropriate values.
8181
8282## How to run the server with docker
8383
84- 1 . use the docker file to build the docker image
84+ 1 . To use the docker file to build the docker image, run this command in the root directory of the sdk
8585
86- ``` bash
87- docker build -t registrar :latest .
88- ```
86+ ``` bash
87+ docker build -t myserver :latest -f node-registrar/Dockerfile .
88+ ```
8989
90902 . run the image
9191
You can’t perform that action at this time.
0 commit comments