version: '2' services: certstream: image: 0rickyy0/certstream-server-go:latest restart: always # Configure the service to run as specific user # user: "1000:1000" # environment: # You can change config options via env vars. # - CERTSTREAM_LISTEN_ADDR="0.0.0.0" # - CERTSTREAM_LISTEN_PORT=8080 ports: - "127.0.0.1:8080:80" # Don't forget to open the other port in case you run the Prometheus endpoint on another port than the websocket server. # - "127.0.0.1:8081:81" volumes: # Starting with v1.9.0, the docker container expects the config file in /app/config/config.yml. # Mounting a config directory is suggested. - ./certstream/config:/app/config networks: - monitoring