server.garden privileged automation agent (mirror of https://git.sequentialread.com/forest/rootsystem)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1013 B

version: "3.3"
services:
threshold:
image: sequentialread/threshold:0.0.5
command: ["-mode", "client", "-configFile", "/threshold/config/config.json"]
extra_hosts:
- "greenhouseusers.com:159.89.124.224"
volumes:
- type: bind
source: ./threshold
target: /threshold/config
# https://giedrius.blog/2018/11/22/etc-nsswitch-conf-and-etc-hosts-woes-with-the-alpine-and-others-docker-image-and-golang/
- type: bind
source: /etc/nsswitch.conf
target: /etc/nsswitch.conf
- type: bind
source: /var/run/servergarden/threshold/
target: /threshold/socket/
caddy:
image: caddy:2.2.0
command: ["caddy", "run", "-config", "/config/config.json"]
volumes:
- type: bind
source: ./caddy
target: /config
- type: bind
source: /var/lib/servergarden/caddy/data
target: /data
- type: bind
source: /var/run/servergarden/caddy/
target: /caddysocket/