mirror of
https://github.com/tiennm99/docker-images.git
synced 2026-10-17 02:14:05 +00:00
refactor(scribe): version image directory
This commit is contained in:
1 parent
9a47995d7c
commit
3998f5d41a
12 files changed
+7
-7
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# Runnable Scribe example: the daemon plus a one-shot Go sender.
|
||||
# Run from this directory: docker compose up --build
|
||||
# Written logs appear on the host under ./logs/<category>/.
|
||||
services:
|
||||
scribe:
|
||||
image: ghcr.io/tiennm99/scribe:2.2
|
||||
ports:
|
||||
- "1463:1463"
|
||||
volumes:
|
||||
# Reuse the repo's default config (read-only).
|
||||
- ../config/scribe.conf:/etc/scribe/scribe.conf:ro
|
||||
# Host-visible log output — files land here after the sender runs.
|
||||
- ./logs:/var/log/scribe
|
||||
restart: unless-stopped
|
||||
|
||||
sender:
|
||||
build: ./sender
|
||||
depends_on:
|
||||
- scribe
|
||||
# Reaches scribe over the compose network by service name (internal port),
|
||||
# independent of the host 1463 mapping. The sender retries until scribe is up.
|
||||
environment:
|
||||
- SCRIBE_HOST=scribe
|
||||
- SCRIBE_PORT=1463
|
||||
- SCRIBE_CATEGORY=example
|
||||
- SCRIBE_COUNT=5
|
||||
Reference in new issue
Block a user