Sign inSign up

showfom/smokeping-master

By showfom

Updated over 1 year ago

SmokePing Master Docker Image

Image
0

283

showfom/smokeping-master repository overview

Create a directory for the master container and navigate to it:

mkdir -p /opt/smokeping-master && cd /opt/smokeping-master

Create a docker-compose.yaml file in the master directory:

cat > /opt/smokeping-master/docker-compose.yaml << EOF
name: smokeping-master

services:
  smokeping-master:
    image: showfom/smokeping-master:latest
    restart: always
    ports:
      - "127.0.0.1:8080:80"
    volumes:
      - ./smokeping_config:/usr/local/smokeping/etc
      - ./smokeping_data:/usr/local/smokeping/data
      - ./apache2_config/smokeping.conf:/etc/apache2/sites-available/smokeping.conf
      - ./smokeping_htdocs:/usr/local/smokeping/htdocs
      - ./smokeping_alert:/usr/local/smokeping/alert
    container_name: smokeping-master
    environment:
      - TZ=Etc/UTC
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:80"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
EOF

Then run the following command to start the master container:

docker compose up -d

After the container is up, you can access the Smokeping web interface at http://localhost:8080/.

Tag summary

Content type

Image

Digest

sha256:c52561dfc

Size

82.7 MB

Last updated

over 1 year ago

docker pull showfom/smokeping-master