Files
Towards/compose.yaml
T

53 lines
1.2 KiB
YAML
Raw Normal View History

2026-07-18 14:31:15 +02:00
services:
timescaledb:
2026-08-05 15:20:56 +02:00
image: timescale/timescaledb:latest-pg15
2026-07-18 14:31:15 +02:00
restart: unless-stopped
environment:
POSTGRES_USER: mmo
POSTGRES_PASSWORD: mmo
POSTGRES_DB: mmo
ports:
- "5432:5432"
volumes:
2026-08-05 15:20:56 +02:00
- timescaledb_data:/var/lib/towards_db/data
2026-07-18 14:31:15 +02:00
grafana:
image: grafana/grafana:latest
restart: unless-stopped
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
ports:
- "3000:3000"
volumes:
- grafana_data:/var/lib/grafana
depends_on:
- timescaledb
2026-08-05 09:53:07 +02:00
chat-server:
profiles: [e2e]
build:
context: .
dockerfile: docker/Dockerfile
target: chat-server
2026-07-18 14:31:15 +02:00
ports:
2026-08-05 09:53:07 +02:00
- "8099:8099/udp"
chat-mock-client:
profiles: [e2e]
build:
context: .
dockerfile: docker/Dockerfile
target: chat-mock-client
# Address.hpp parses peers with inet_addr, which takes literal IPv4 only and
# never consults DNS, so a service name is not addressable. Sharing the
# server's network namespace makes its default 127.0.0.1 land on the server.
network_mode: "service:chat-server"
2026-07-18 14:31:15 +02:00
depends_on:
2026-08-05 09:53:07 +02:00
- chat-server
command: ["--channel", "1"]
2026-07-18 14:31:15 +02:00
volumes:
timescaledb_data:
grafana_data: