version: "3.3"
services:
  landing-zone:
    image: hypernetlabs/landing-zone-daemon
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      # uncomment the following line if you need your LZ to have access to private Docker Hub repositories
      #- ${HOME}/.docker/config.json:/root/.docker/config.json
      - tokens:/tokens
    container_name: landing-zone-daemon
    # chose the name that appears in the Galileo UI and make a unique string that corresponds to it
    command: --token /tokens/authfile.txt --name "$LZ_NAME"
    environment:
      DOCKER_HOST: unix:///var/run/docker.sock
volumes:
  tokens:
