0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

Change internal ssh port for rootless image. (#895)

Change internal ssh port for rootless image to 2222 as the rootless image has ssh running on port 2222.

Reviewed-on: https://codeberg.org/forgejo/docs/pulls/895
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: apoorv569 <apoorv569@noreply.codeberg.org>
Co-committed-by: apoorv569 <apoorv569@noreply.codeberg.org>
This commit is contained in:
apoorv569 2024-10-17 16:22:30 +00:00 committed by Earl Warren
parent 6eb5c6fbf3
commit bd7373c0d8

View file

@ -303,7 +303,8 @@ services:
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
- - "222"22"
+ - "222:2222"
```
This will write the configuration into our created `conf` folder and all other data into the `data` folder.