mirror of
https://github.com/openziti/zrok.git
synced 2025-01-05 13:38:53 +01:00
use headless mode (no tty); allow override API endpoint env var
This commit is contained in:
parent
62a689432d
commit
f036e4d089
@ -8,7 +8,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- zrok_env:/mnt/.zrok
|
- zrok_env:/mnt/.zrok
|
||||||
zrok-enable:
|
zrok-enable:
|
||||||
image: docker.io/openziti/zrok:enable-headless # FIXME: resume :latest if >= :0.3.2
|
image: docker.io/openziti/zrok
|
||||||
depends_on:
|
depends_on:
|
||||||
zrok-enable-init:
|
zrok-enable-init:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
@ -29,17 +29,15 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
HOME: /mnt
|
HOME: /mnt
|
||||||
ZROK_ENABLE_TOKEN:
|
ZROK_ENABLE_TOKEN:
|
||||||
ZROK_API_ENDPOINT: https://api.zrok.io/
|
ZROK_API_ENDPOINT: ${ZROK_API_ENDPOINT:-https://api.zrok.io/}
|
||||||
zrok-private-access:
|
zrok-private-access:
|
||||||
image: docker.io/openziti/zrok
|
image: docker.io/openziti/zrok
|
||||||
command: access private --bind 0.0.0.0:9191 ${ZROK_ACCESS_TOKEN}
|
command: access private --headless --bind 0.0.0.0:9191 ${ZROK_ACCESS_TOKEN}
|
||||||
depends_on:
|
depends_on:
|
||||||
zrok-enable:
|
zrok-enable:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
ports:
|
ports:
|
||||||
- 9191:9191 # expose the zrok private access proxy to the Docker host
|
- 9191:9191 # expose the zrok private access proxy to the Docker host
|
||||||
stdin_open: true # FIXME: remove when --headless is available
|
|
||||||
tty: true # FIXME: remove when --headless is available
|
|
||||||
volumes:
|
volumes:
|
||||||
- zrok_env:/mnt/.zrok
|
- zrok_env:/mnt/.zrok
|
||||||
environment:
|
environment:
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- zrok_env:/mnt/.zrok
|
- zrok_env:/mnt/.zrok
|
||||||
zrok-enable:
|
zrok-enable:
|
||||||
image: docker.io/openziti/zrok:enable-headless # FIXME: resume :latest if >= :0.3.2
|
image: docker.io/openziti/zrok
|
||||||
depends_on:
|
depends_on:
|
||||||
zrok-enable-init:
|
zrok-enable-init:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
@ -29,10 +29,10 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
HOME: /mnt
|
HOME: /mnt
|
||||||
ZROK_ENABLE_TOKEN:
|
ZROK_ENABLE_TOKEN:
|
||||||
ZROK_API_ENDPOINT: https://api.zrok.io/
|
ZROK_API_ENDPOINT: ${ZROK_API_ENDPOINT:-https://api.zrok.io/}
|
||||||
zrok-private-share:
|
zrok-private-share:
|
||||||
image: docker.io/openziti/zrok
|
image: docker.io/openziti/zrok
|
||||||
command: share private --headless http://zrok-test:8080
|
command: share private --headless http://zrok-test:9090
|
||||||
depends_on:
|
depends_on:
|
||||||
zrok-enable:
|
zrok-enable:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- zrok_env:/mnt/.zrok
|
- zrok_env:/mnt/.zrok
|
||||||
zrok-enable:
|
zrok-enable:
|
||||||
image: docker.io/openziti/zrok:enable-headless # FIXME: resume :latest if >= :0.3.2
|
image: docker.io/openziti/zrok
|
||||||
depends_on:
|
depends_on:
|
||||||
zrok-enable-init:
|
zrok-enable-init:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
@ -29,7 +29,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
HOME: /mnt
|
HOME: /mnt
|
||||||
ZROK_ENABLE_TOKEN:
|
ZROK_ENABLE_TOKEN:
|
||||||
ZROK_API_ENDPOINT: https://api.zrok.io
|
ZROK_API_ENDPOINT: ${ZROK_API_ENDPOINT:-https://api.zrok.io/}
|
||||||
zrok-public-share:
|
zrok-public-share:
|
||||||
image: docker.io/openziti/zrok
|
image: docker.io/openziti/zrok
|
||||||
command: share public --headless http://zrok-test:9090
|
command: share public --headless http://zrok-test:9090
|
||||||
|
Loading…
Reference in New Issue
Block a user