mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 09:01:09 +02:00
fix(infra): simplify alertmanager config mount (direct file mount)
Now that VirtioFS is fixed (colima /Users/mana mount restored), file bind-mounts work correctly. Replace the cp-in-entrypoint workaround with a direct file mount to /etc/alertmanager/alertmanager.yml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e21e09be1e
commit
667d8cf96d
1 changed files with 2 additions and 2 deletions
|
|
@ -1756,9 +1756,9 @@ services:
|
|||
depends_on:
|
||||
alert-notifier:
|
||||
condition: service_healthy
|
||||
entrypoint: ["sh", "-c", "mkdir -p /tmp/am-config && cp /mnt/alertmanager-config/*.yml /tmp/am-config/ 2>/dev/null; exec /bin/alertmanager --config.file=/tmp/am-config/alertmanager.yml --storage.path=/alertmanager --web.listen-address=:9093"]
|
||||
command: ["--config.file=/etc/alertmanager/alertmanager.yml", "--storage.path=/alertmanager", "--web.listen-address=:9093"]
|
||||
volumes:
|
||||
- ./docker/alertmanager:/mnt/alertmanager-config:ro
|
||||
- ./docker/alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
|
||||
- alertmanager_data:/alertmanager
|
||||
ports:
|
||||
- "9093:9093"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue