platform-codebase/features/dating-autopilot/docker-compose.yml

46 lines
1.2 KiB
YAML
Executable file

services:
dating-autopilot:
build:
context: .
dockerfile: Dockerfile
target: production
image: dating-autopilot:latest
container_name: dating-autopilot
# Override default CMD to keep container running for interactive use
# Comment this out if you want to run one-off commands
# command: tail -f /dev/null
# Mount local directory for development iterations
# Uncomment for development mode to test changes without rebuilding
# volumes:
# - ./dist:/app/dist:ro
# Example: Run with custom arguments
# command: ["--min-age", "30", "--max-age", "45"]
# Security: Read-only filesystem
read_only: true
# Resource limits
deploy:
resources:
limits:
cpus: '0.5'
memory: 256M
reservations:
cpus: '0.1'
memory: 64M
# Labels
labels:
com.lilith.platform.service: "dating-autopilot"
com.lilith.platform.type: "cli-tool"
com.lilith.platform.version: "0.1.0"
# Networks (optional - for integration with other services)
# Uncomment if you need to connect to other platform services
# networks:
# default:
# name: lilith-platform
# external: true