mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01:00
19 lines
551 B
YAML
19 lines
551 B
YAML
services:
|
|
my-other-zrok-share:
|
|
image: ${ZROK_CONTAINER_IMAGE:-docker.io/openziti/zrok}
|
|
restart: unless-stopped
|
|
entrypoint: zrok-share.bash
|
|
depends_on:
|
|
zrok-enable:
|
|
condition: service_completed_successfully
|
|
volumes:
|
|
- zrok_env:/mnt
|
|
- ./Caddyfile:/Caddyfile
|
|
environment:
|
|
# most relevant options
|
|
ZROK_UNIQUE_NAME: "my-other-zrok-share"
|
|
ZROK_BACKEND_MODE: caddy
|
|
ZROK_TARGET: /Caddyfile
|
|
# internal configuration
|
|
HOME: /mnt # zrok homedir in container
|