Bind to unprivileged port : 8000
This commit is contained in:
parent
9789c073b4
commit
04f8c23aad
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 18692-RC2 (2019/01/22)
|
||||
|
||||
* Bind to unprivileged port : `8000`
|
||||
|
||||
## 18692-RC1 (2018/12/25)
|
||||
|
||||
* Upgrade to JetBrains License Server 18692
|
||||
|
@ -36,7 +36,7 @@ RUN apk --update --no-cache add \
|
||||
&& apk del build-dependencies \
|
||||
&& rm -rf /var/cache/apk/* /tmp/*
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 8000
|
||||
VOLUME [ "/data" ]
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
@ -49,7 +49,7 @@ If you are interested, [check out](https://hub.docker.com/r/crazymax/) my other
|
||||
|
||||
### Ports
|
||||
|
||||
* `80` : Jetbrains License Server HTTP port
|
||||
* `8000` : Jetbrains License Server HTTP port
|
||||
|
||||
## Use this image
|
||||
|
||||
@ -69,7 +69,7 @@ docker-compose logs -f
|
||||
You can also use the following minimal command :
|
||||
|
||||
```bash
|
||||
$ docker run -d -p 8000:80 --name jetbrains-license-server \
|
||||
$ docker run -d -p 8000:8000 --name jetbrains_license_server \
|
||||
-e TZ="Europe/Paris" \
|
||||
-e JLS_VIRTUAL_HOSTS=jetbrains-license-server.example.com \
|
||||
-v $(pwd)/data:/data \
|
||||
|
@ -3,7 +3,7 @@
|
||||
TZ=${TZ:-UTC}
|
||||
JLS_PATH="/opt/jetbrains-license-server"
|
||||
JLS_LISTEN_ADDRESS="0.0.0.0"
|
||||
JLS_PORT=80
|
||||
JLS_PORT=8000
|
||||
JLS_CONTEXT=${JLS_CONTEXT:-/}
|
||||
JLS_ACCESS_CONFIG=${JLS_ACCESS_CONFIG:-/data/access-config.json}
|
||||
|
||||
|
@ -2,7 +2,8 @@ version: "3.2"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:1.6-alpine
|
||||
image: traefik:1.7-alpine
|
||||
container_name: traefik
|
||||
command:
|
||||
- "--logLevel=INFO"
|
||||
- "--defaultentrypoints=http,https"
|
||||
@ -33,6 +34,7 @@ services:
|
||||
|
||||
app:
|
||||
image: crazymax/jetbrains-license-server:latest
|
||||
container_name: jetbrains_license_server
|
||||
depends_on:
|
||||
- traefik
|
||||
volumes:
|
||||
@ -40,7 +42,7 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.backend=jetbrains-license-server"
|
||||
- "traefik.port=80"
|
||||
- "traefik.port=8000"
|
||||
- "traefik.frontend.rule=Host:jetbrains-license-server.example.com,an-other-host.example.com"
|
||||
environment:
|
||||
- "TZ=Europe/Paris"
|
||||
|
Loading…
Reference in New Issue
Block a user