Skip to content

DanielSRS/slaps_and_kisses

Repository files navigation

slaps_and_kisses

Contributing

See CONTRIBUTING.md for details on how to set up TypeScript for new packages and apps in this monorepo.

Docker Setup

This project uses Docker Compose to manage containerized services. The following commands will help you build and run the application stack.

Building and Running Containers

Build and start all services

# Build and start all main services
docker compose --profile 'runner' -f 'docker-compose.yml' up -d --build

Attaching to Running Services

View Car Logs via logs Service

# Attach to the logs service to view real-time car logs
docker compose attach logs

Interact with the Car Application (carr)

# Attach to the carr (car-run) service to use the car application interactively
docker compose attach carr

Build and start specific services

# Build and start only the specified services
docker compose up --build mqtt-broker server

Run in detached mode

# Run services in the background
docker compose up -d

Additional Service Profiles

Install Dependencies (for editor type support)

# Run the deps-installer service
docker compose --profile deps up

Run Car Application

# Run the car application with the runner profile
docker compose --profile runner up carr

Managing Containers

# Stop all running containers
docker compose down

# Stop and remove volumes
docker compose down -v

# View container logs
docker compose logs -f

# View logs for specific service
docker compose logs -f server

Service Overview

  • mqtt-broker: MQTT message broker (Mosquitto) for communication between services
  • server: Backend server application
  • car: Car client application
  • deps-installer: Utility service for installing dependencies
  • carr: Runner for the built car application
  • logs: Service for viewing and managing application logs

About

No description or website provided.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors