Allow adjusting the exposed OBS port in Docker Compose
This commit is contained in:
parent
efe0cf0660
commit
d0220d2918
@ -55,7 +55,7 @@ It can also be useful to work against a development copy of `osc` either to util
|
||||
# to utilize the wrapper for working on osc plugins from osrt checkout
|
||||
$(realpath ./osc)/../osc-wrapper.py --version
|
||||
|
||||
Using [Docker Compose](https://docs.docker.com/compose/), a containerized OBS can be started via one command. The default credentials are `Admin` and `opensuse` on [0.0.0.0:3000](http://0.0.0.0:3000).
|
||||
Using [Docker Compose](https://docs.docker.com/compose/), a containerized OBS can be started via one command. The default credentials are `Admin` and `opensuse` on [0.0.0.0:3000](http://0.0.0.0:3000). You can change the port by setting the environment variable `OSRT_EXPOSED_OBS_PORT`.
|
||||
|
||||
docker-compose -f dist/ci/docker-compose.yml up api
|
||||
|
||||
|
2
dist/ci/docker-compose.yml
vendored
2
dist/ci/docker-compose.yml
vendored
@ -29,7 +29,7 @@ services:
|
||||
- repserver
|
||||
- servicedispatch
|
||||
ports:
|
||||
- 0.0.0.0:3000:3000
|
||||
- "0.0.0.0:${OSRT_EXPOSED_OBS_PORT:-3000}:3000"
|
||||
srcserver:
|
||||
<<: *obs
|
||||
command: chroot --userspec=obsrun / /usr/lib/obs/server/bs_srcserver
|
||||
|
Loading…
x
Reference in New Issue
Block a user