Skip to content

Commit 5e7e341

Browse files
authored
Merge pull request #3 from ceifa/codex/update-readme-md-and-workflow-snippets
Update image references in README
2 parents b583a92 + 7bf7822 commit 5e7e341

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ docker run \
9797
-p 27005:27005/udp \
9898
--name gmod-server \
9999
-it \
100-
ceifa/gmod-server
100+
ceifa/garrysmod:latest
101101
```
102102

103103
This will start a server with host workshop collection pointing to [382793424][workshop-example] named `gmod-server`:
@@ -108,7 +108,7 @@ docker run \
108108
-p 27005:27005/udp \
109109
-e ARGS="+host_workshop_collection 382793424" \
110110
-it \
111-
ceifa/gmod-server
111+
ceifa/garrysmod:latest
112112
```
113113

114114
This will start a server named `my server` in production mode pointing to a local addons with a custom gamemode:
@@ -123,13 +123,13 @@ docker run \
123123
-e PRODUCTION=1 \
124124
-e GAMEMODE=darkrp \
125125
-it \
126-
ceifa/gmod-server
126+
ceifa/garrysmod:latest
127127
```
128128

129129
You can create a new docker image using this image as base too:
130130

131131
```dockerfile
132-
FROM ceifa/gmod-server:latest
132+
FROM ceifa/garrysmod:latest
133133

134134
COPY ./deathrun-addons /home/gmod/server/garrysmod/addons
135135

@@ -148,7 +148,7 @@ This image contains a health check to continually ensure the server is online. T
148148

149149
```sh
150150
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
151-
e9c073a4b262 ceifa/gmod-server "/home/gmod/start.sh" 21 minutes ago Up 21 minutes (healthy) 0.0.0.0:27005->27005/tcp, 27005/udp, 0.0.0.0:27015->27015/tcp, 0.0.0.0:27015->27015/udp distracted_cerf
151+
e9c073a4b262 ceifa/garrysmod:latest "/home/gmod/start.sh" 21 minutes ago Up 21 minutes (healthy) 0.0.0.0:27005->27005/tcp, 27005/udp, 0.0.0.0:27015->27015/tcp, 0.0.0.0:27015->27015/udp distracted_cerf
152152
```
153153

154154
You can also query the container's health in a script friendly way:

0 commit comments

Comments
 (0)