services: nats: image: nats:alpine container_name: libertas_nats ports: - "4222:4222" - "6222:6222" - "8222:8222" restart: unless-stopped db: image: postgres:17 container_name: libertas_db environment: POSTGRES_USER: libertas POSTGRES_PASSWORD: libertas_password POSTGRES_DB: libertas_db ports: - "5436:5432" volumes: - libertas_db_data:/var/lib/postgresql/data restart: unless-stopped volumes: libertas_db_data: