# DeskLock gateway stack. # To deploy: copy into system-admin-toj/containers/stacks/ (Portainer) and # register the service + port 8600 in CONTAINERS.md. # # Image is built and pushed by .gitea/workflows/build.yml on version tags; # Watchtower picks up :latest afterwards. services: desklock-gateway: image: git.schweitz.internal/jpmschweitzer/desklock-gateway:latest container_name: desklock-gateway restart: unless-stopped ports: - "8600:8600" environment: # LAN IP of tower-of-joy: *.schweitz.internal resolves to localhost on the # host, which is wrong inside a container. Switch to http://speaches:8000 # (and the tatlock service name) if this stack joins their docker networks. - DESKLOCK_TATLOCK_BASE_URL=http://192.168.86.149:8000 - DESKLOCK_SPEACHES_BASE_URL=http://192.168.86.149:8601 labels: - com.centurylinklabs.watchtower.enable=true