Fixed storage and persistence issues within containers
This commit is contained in:
parent
6686923b6a
commit
83100e4e77
@ -6,7 +6,6 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: dockerfile # <- your file is named 'dockerfile'
|
dockerfile: dockerfile # <- your file is named 'dockerfile'
|
||||||
image: shaiwatcher:local # local tag so Portainer can re-use cache
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# Everything configurable shows up in Portainer's env UI
|
# Everything configurable shows up in Portainer's env UI
|
||||||
@ -15,7 +14,7 @@ services:
|
|||||||
DISCORD_TOKEN: ${DISCORD_TOKEN}
|
DISCORD_TOKEN: ${DISCORD_TOKEN}
|
||||||
|
|
||||||
# --- Paths ---
|
# --- Paths ---
|
||||||
SHAI_DATA_FILE: /app/data/data.json
|
SHAI_DATA_FILE: /data/data.json
|
||||||
|
|
||||||
# --- Reaction gating messages ---
|
# --- Reaction gating messages ---
|
||||||
SHAI_RULES_MESSAGE_ID: "1396831304460402738"
|
SHAI_RULES_MESSAGE_ID: "1396831304460402738"
|
||||||
@ -70,7 +69,7 @@ services:
|
|||||||
SHAI_EMOJI_CARRIER_CRAWLER_ID: "1402285453037666386"
|
SHAI_EMOJI_CARRIER_CRAWLER_ID: "1402285453037666386"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- shaiwatcher_data:/app/data # persistent data.json lives here
|
- shaiwatcher_data:/data # persistent data.json lives here
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
shaiwatcher_data:
|
shaiwatcher_data:
|
||||||
|
@ -39,7 +39,7 @@ threat_w_skill = 0.10
|
|||||||
threat_group_threshold = 3
|
threat_group_threshold = 3
|
||||||
threat_min_samples_for_stats = 3
|
threat_min_samples_for_stats = 3
|
||||||
|
|
||||||
data_file = /app/data/data.json
|
data_file = /data/data.json
|
||||||
release_version = false
|
release_version = false
|
||||||
nick_nudge_loop_enabled = false
|
nick_nudge_loop_enabled = false
|
||||||
home_guild_id = 1396826999095427253
|
home_guild_id = 1396826999095427253
|
||||||
|
Loading…
Reference in New Issue
Block a user