Files
billing/docker-compose.yml
2026-01-07 09:17:45 +07:00

44 lines
909 B
YAML

services:
billing:
build:
context: .
dockerfile: Dockerfile
container_name: billing
restart: unless-stopped
expose:
- "8000"
environment:
- PORT=8000
- TB_CLUSTER_ID=0
- TB_ADDRESS=tigerbeetle:3000
security_opt:
- seccomp=unconfined
depends_on:
- tigerbeetle
networks:
dokploy-network:
aliases:
- billing
tigerbeetle:
image: ghcr.io/tigerbeetle/tigerbeetle:latest
container_name: tigerbeetle
privileged: true
command: ["start", "--addresses=0.0.0.0:3000", "--development", "/var/lib/tigerbeetle/0_0.tigerbeetle"]
expose:
- "3000"
volumes:
- tigerbeetle_data:/var/lib/tigerbeetle
restart: unless-stopped
networks:
dokploy-network:
aliases:
- tigerbeetle
volumes:
tigerbeetle_data:
networks:
dokploy-network:
external: true