Repository navigation
Expand file tree
/
Copy pathcompose.yml
More file actions
33 lines (33 loc) · 1.49 KB
/
Copy pathcompose.yml
File metadata and controls
33 lines (33 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
db-agent:
image: ghcr.io/calagopus/db-agent:latest
restart: unless-stopped
environment:
TZ: "Europe/Berlin"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/var/lib/docker/containers/:/var/lib/docker/containers/"
- "./config.yml:/etc/calagopus-db-agent/config.yml"
# db-agent inspects its own container on boot and translates bind mount sources
# to host paths automatically, so only the host side (left) of these volumes
# needs to be adjusted to relocate storage. if you split /var/lib/calagopus-db-agent
# up, make sure the following paths are all still covered by a volume:
# /var/lib/calagopus-db-agent/data (used for storing database files)
- "/var/lib/calagopus-db-agent/:/var/lib/calagopus-db-agent/"
- "/var/log/calagopus-db-agent/:/var/log/calagopus-db-agent/"
- "/run/calagopus-db-agent/:/run/calagopus-db-agent/"
# do not mount directly to /etc/ssl/certs (right side), this will cause certificate issues within the container
- "/etc/ssl/certs/db-agent:/etc/ssl/certs/db-agent:ro"
ports:
# PostgreSQL proxy (config: postgresql.bind)
- 5432:5432
# MariaDB/MySQL proxy (config: mariadb.bind)
- 3306:3306
# MongoDB proxy (config: mongodb.bind)
- 27017:27017
# Redis proxy (config: redis.bind)
- 6379:6379
# ClickHouse native proxy (config: clickhouse.bind)
- 9000:9000
# Management API (config: api.bind)
- 8090:8090