forked from
atscan.net/plcbundle-rs
High-performance implementation of plcbundle written in Rust
1networks:
2 plcbundle:
3
4services:
5 plcbundle:
6 build: .
7 image: atscan/plcbundle:latest
8 container_name: plcbundle
9 restart: unless-stopped
10 ports:
11 - "${HTTP_PORT:-8080}:8080"
12 volumes:
13 - ${DATA_DIR:-./data}:/data
14 environment:
15 - TZ=${TZ:-UTC}
16 command: [
17 "server",
18 "-C","/data",
19 "--host","0.0.0.0",
20 "--port","8080",
21 "--sync",
22 "--websocket",
23 "--resolver"
24 ]
25 networks:
26 - plcbundle
27
28 watchtower:
29 container_name: watchtower
30 image: containrrr/watchtower:latest
31 network_mode: host
32 volumes:
33 - type: bind
34 source: /var/run/docker.sock
35 target: /var/run/docker.sock
36 restart: unless-stopped
37 environment:
38 WATCHTOWER_CLEANUP: "true"
39 WATCHTOWER_SCHEDULE: "@midnight"