blades-ssh-scraper/docker-compose.yml

16 lines
441 B
YAML

version: '3'
services:
bss:
build: .
volumes:
- './id_rsa:/bss/.ssh/id_rsa'
#ports:
# - '8000:8000' # EXPOSING TO THE INTERWEBZ IS A BAD IDEA. USE DOCKER NETWORKS OR A REVERSE PROXY INSTEAD.
env_file:
- bss.env # SSH_HOSTNAME=172.16.16.16 ENCNAME=bladinator
#prometheus:
# image: prom/prometheus
# volumes:
# - './prometheus.yml:/etc/prometheus/prometheus.yml'
# ports:
# - '9090:9090'