working v1
This commit is contained in:
35
docker-compose.yml
Normal file
35
docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
matterbridge:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: kosmi-irc-relay
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
# Mount your configuration file
|
||||
- ./matterbridge.toml:/app/matterbridge.toml:ro,z
|
||||
# Optional: Mount a directory for logs
|
||||
- ./logs:/app/logs:z
|
||||
# If you need to expose any ports (e.g., for API or webhooks)
|
||||
# ports:
|
||||
# - "4242:4242"
|
||||
environment:
|
||||
# Chrome/Chromium configuration for headless mode
|
||||
- CHROME_BIN=/usr/bin/chromium
|
||||
- CHROME_PATH=/usr/bin/chromium
|
||||
# Optional: Set timezone
|
||||
- TZ=America/New_York
|
||||
# Security options for Chrome in Docker
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
# Optional: Set memory limits
|
||||
# mem_limit: 512m
|
||||
# mem_reservation: 256m
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
Reference in New Issue
Block a user