[add] initial commit
This commit is contained in:
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
pinger:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- USER_ID=${EUID:-1000}
|
||||
- GROUP_ID=${EUID:-1000}
|
||||
environment:
|
||||
- TZ=America/New_York
|
||||
# file with server list
|
||||
- SERVER_FILE=/service/servers.env
|
||||
# list of servers (takes precedence over file)
|
||||
#- SERVERS=127.0.0.1
|
||||
# 0.0.0.0
|
||||
# localhost
|
||||
# use iso-8601 instead of epoch timestamp [default: -+%s]
|
||||
#- DATE_FORMAT=-Iseconds
|
||||
# set the cycle at which servers are pinged [default: 60s]
|
||||
#- CYCLE=60s
|
||||
# set amount of times servers are pinged on each cycle [default: 10]
|
||||
#- PING_COUNT=10
|
||||
# set output file name [default: ping.csv]
|
||||
#- OUTPUT_FILE=ping.csv
|
||||
restart: always
|
||||
image: pinger
|
||||
container_name: pinger
|
||||
volumes:
|
||||
- $PWD/data:/service/data
|
||||
- $PWD/servers.env:/service/servers.env
|
||||
Reference in New Issue
Block a user