version: '3.7' volumes: mongodata: minio-data: typesense-data: tigerbeetle-data: networks: # ensure additional services are added to this network if they are expected to communicate with each other enable_ipv6: driver: bridge enable_ipv6: true ipam: config: - subnet: '172.19.0.0/16' - subnet: 'fd00::/64' # Service instance configuration sort order is dictated heirarchically by importance (Best practice, not an ISO standard) services: minio: image: minio/minio:latest restart: always ports: - '9000:9000' - '9001:9001' networks: - enable_ipv6 volumes: - './conf/minio.env:/etc/config.env' - minio-data:/mnt/data environment: MINIO_CONFIG_ENV_FILE: /etc/config.env command: minio server --console-address ":9001" redis: image: 'redis:latest' restart: always ports: - '6379:6379' networks: - enable_ipv6 volumes: - ./conf/redis.conf:/etc/redis.conf command: ['redis-server', '/etc/redis.conf'] livekit: image: livekit/livekit-server:v1.8.0 restart: always depends_on: - redis ports: - '7880:7880' - '7881:7881' - '7882:7882/udp' networks: - enable_ipv6 volumes: - ./conf/livekit.yaml:/etc/livekit.yaml command: --config /etc/livekit.yaml typesense: image: typesense/typesense:29.0 restart: always ports: - '8108:8108' networks: - enable_ipv6 volumes: - typesense-data:/data command: '--data-dir /data --api-key=xyz --enable-cors' tigerbeetle_format: image: 'ghcr.io/tigerbeetle/tigerbeetle:0.16.61' restart: 'no' volumes: - tigerbeetle-data:/data command: format --replica-count=1 --replica=0 /data/0_0.tigerbeetle || true security_opt: - seccomp=unconfined tigerbeetle: image: 'ghcr.io/tigerbeetle/tigerbeetle:0.16.61' restart: always ports: - '8101:3000' networks: - enable_ipv6 volumes: - tigerbeetle-data:/data depends_on: - tigerbeetle_format command: start --cache-grid=256MiB --addresses=0.0.0.0:3000 --development /data/0_0.tigerbeetle security_opt: - seccomp=unconfined