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