make host ports configurable
This commit is contained in:
parent
6f01318bba
commit
44f3763e28
2 changed files with 9 additions and 8 deletions
|
@ -29,5 +29,5 @@ forgejo docker conatiner running:
|
|||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- port_bindings:
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "222:22"
|
||||
- "{{ salt['pillar.get']('forgejo:container_web_port', 127.0.0.1:3000) }}:3000"
|
||||
- "{{ salt['pillar.get']('forgejo:config:server:ssh_port', 22) }}:22"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
forgejo:
|
||||
container_web_port: 3000
|
||||
image:
|
||||
path: codeberg.org/forgejo/forgejo
|
||||
version: 7.0.5
|
||||
|
|
Loading…
Reference in a new issue