Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docker compose repository for workstation

License

Notifications You must be signed in to change notification settings

AlbanAndrieu/nabla-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nabla-compose

Docker compose project for workstation.

Overview

This is a docker compose application.

Local Development

Prerequisites

  • Python 3.12 or higher

Docker Compose Deployment

This project includes a complete Docker Compose setup for running the FastAPI application with all its dependencies.

📖 Full Docker Compose Guide - Comprehensive documentation with examples

Quick Start with Docker Compose

  1. Create environment file:
cp .env.example .env
# Edit .env with your configuration
  1. Start all services:
# Start in foreground
docker compose up

# Start in background
docker compose up -d
  1. Access the application:

Docker Compose Services

The docker-compose.yml includes:

  • web: FastAPI application (port 8000)
  • postgres: PostgreSQL database (port 5432)
  • redis: Redis cache (port 6379)
  • nginx: Nginx reverse proxy (ports 80/443)

Docker Compose Commands

# View running services
docker compose ps

# View logs
docker compose logs -f

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

# Restart a service
docker compose restart web

# Stop all services
docker compose down

# Stop and remove volumes (deletes data)
docker compose down -v

# Rebuild and restart
docker compose up --build

# Execute command in container
docker compose exec web bash

Validation

Validate the docker-compose configuration:

# Check syntax
docker compose config

# Verify services are running
docker compose ps

# Check health status
docker compose ps --format json | jq '.Health'

Initialize opencommit and oco

  1. Install opencommit:
npm install -D opencommit
npm install -D @commitlint/cli @commitlint/config-conventional @commitlint/prompt-cli commitizen cz-emoji-conventional

git add .opencommit-commitlint
oco commitlint get

oco config set OCO_PROMPT_MODULE=@commitlint

About

Docker compose repository for workstation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •