mirror of
https://github.com/openziti/zrok.git
synced 2025-01-03 12:39:07 +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:
|
||||
- zrok_env:/mnt/.zrok
|
||||
zrok-enable:
|
||||
image: docker.io/openziti/zrok:enable-headless # FIXME: resume :latest if >= :0.3.2
|
||||
image: docker.io/openziti/zrok
|
||||
depends_on:
|
||||
zrok-enable-init:
|
||||
condition: service_completed_successfully
|
||||
@ -29,17 +29,15 @@ services:
|
||||
environment:
|
||||
HOME: /mnt
|
||||
ZROK_ENABLE_TOKEN:
|
||||
ZROK_API_ENDPOINT: https://api.zrok.io/
|
||||
ZROK_API_ENDPOINT: ${ZROK_API_ENDPOINT:-https://api.zrok.io/}
|
||||
zrok-private-access:
|
||||
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:
|
||||
zrok-enable:
|
||||
condition: service_completed_successfully
|
||||
ports:
|
||||
- 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:
|
||||
- zrok_env:/mnt/.zrok
|
||||
environment:
|
||||
|
@ -8,7 +8,7 @@ services:
|
||||
volumes:
|
||||
- zrok_env:/mnt/.zrok
|
||||
zrok-enable:
|
||||
image: docker.io/openziti/zrok:enable-headless # FIXME: resume :latest if >= :0.3.2
|
||||
image: docker.io/openziti/zrok
|
||||
depends_on:
|
||||
zrok-enable-init:
|
||||
condition: service_completed_successfully
|
||||
@ -29,10 +29,10 @@ services:
|
||||
environment:
|
||||
HOME: /mnt
|
||||
ZROK_ENABLE_TOKEN:
|
||||
ZROK_API_ENDPOINT: https://api.zrok.io/
|
||||
ZROK_API_ENDPOINT: ${ZROK_API_ENDPOINT:-https://api.zrok.io/}
|
||||
zrok-private-share:
|
||||
image: docker.io/openziti/zrok
|
||||
command: share private --headless http://zrok-test:8080
|
||||
command: share private --headless http://zrok-test:9090
|
||||
depends_on:
|
||||
zrok-enable:
|
||||
condition: service_completed_successfully
|
||||
|
@ -8,7 +8,7 @@ services:
|
||||
volumes:
|
||||
- zrok_env:/mnt/.zrok
|
||||
zrok-enable:
|
||||
image: docker.io/openziti/zrok:enable-headless # FIXME: resume :latest if >= :0.3.2
|
||||
image: docker.io/openziti/zrok
|
||||
depends_on:
|
||||
zrok-enable-init:
|
||||
condition: service_completed_successfully
|
||||
@ -29,7 +29,7 @@ services:
|
||||
environment:
|
||||
HOME: /mnt
|
||||
ZROK_ENABLE_TOKEN:
|
||||
ZROK_API_ENDPOINT: https://api.zrok.io
|
||||
ZROK_API_ENDPOINT: ${ZROK_API_ENDPOINT:-https://api.zrok.io/}
|
||||
zrok-public-share:
|
||||
image: docker.io/openziti/zrok
|
||||
command: share public --headless http://zrok-test:9090
|
||||
|
Loading…
Reference in New Issue
Block a user