You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
websubhub/docker-compose.yml

26 lines
599 B

version: "3.8"
services:
# the client has two endpoints other then the web sub portion
# /log which displays all messages received from the hub
# /resub which throws away the old subscription and try to create a new one.
web-sub-client:
image: modfin/websub-client:latest
ports:
- "8081:8080"
environment:
- HOSTNAME=web-sub-client
- PORT=8080
- HUB_URL=http://hub:8080
- TOPIC=a-topic
restart: on-failure
depends_on:
- hub
hub:
build:
context: ./hub
ports:
- "8080:8080"
volumes:
- ./hub:/go/src/hub