25 lines
981 B
YAML
25 lines
981 B
YAML
# Add this overlay AFTER all three existing production compose files.
|
|
# Keep the existing web image, command, ports and all existing volume entries.
|
|
services:
|
|
web:
|
|
environment:
|
|
VPN_RUN_STARTUP_TASKS: "false"
|
|
TOPLC_HOST_TRAFFIC_DB: /var/lib/toplc-vpn-host-traffic/host-traffic.sqlite3
|
|
volumes:
|
|
- type: bind
|
|
source: /opt/toplc-vpn/host-traffic-standalone-20261106/control/host_traffic.py
|
|
target: /app/control/host_traffic.py
|
|
read_only: true
|
|
- type: bind
|
|
source: /opt/toplc-vpn/host-traffic-standalone-20261106/control/host_traffic_store.py
|
|
target: /app/control/host_traffic_store.py
|
|
read_only: true
|
|
- type: bind
|
|
source: /opt/toplc-vpn/host-traffic-standalone-20261106/control/urls.py
|
|
target: /app/control/urls.py
|
|
read_only: true
|
|
- type: bind
|
|
source: /opt/toplc-vpn/host-traffic-state
|
|
target: /var/lib/toplc-vpn-host-traffic
|
|
read_only: false
|