Initial commit from monorepo
This commit is contained in:
43
docker-compose.yml
Normal file
43
docker-compose.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
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
|
||||
Reference in New Issue
Block a user