| 1 | version: '2' |
| 2 | |
| 3 | services: |
| 4 | certstream: |
| 5 | image: 0rickyy0/certstream-server-go:latest |
| 6 | restart: always |
| 7 | # Configure the service to run as specific user |
| 8 | # user: "1000:1000" |
| 9 | # environment: |
| 10 | # You can change config options via env vars. |
| 11 | # - CERTSTREAM_LISTEN_ADDR="0.0.0.0" |
| 12 | # - CERTSTREAM_LISTEN_PORT=8080 |
| 13 | ports: |
| 14 | - "127.0.0.1:8080:80" |
| 15 | # Don't forget to open the other port in case you run the Prometheus endpoint on another port than the websocket server. |
| 16 | # - "127.0.0.1:8081:81" |
| 17 | volumes: |
| 18 | # Starting with v1.9.0, the docker container expects the config file in /app/config/config.yml. |
| 19 | # Mounting a config directory is suggested. |
| 20 | - ./certstream/config:/app/config |
| 21 | networks: |
| 22 | - monitoring |