# Deployment configuration for CI/CD pipeline version: '3.8' services: light-delivery-app: image: light-delivery-app:latest container_name: light-delivery-container ports: - "8080:8080" - "8443:8443" environment: - SPRING_DATASOURCE_PASSWORD=Hu@ng1998! - KEY_STORE_PASSWORD=BIKEWZzBVN2J volumes: - /app/logs:/app/logs - /etc/ssl/certs:/etc/ssl/certs:ro restart: unless-stopped logging: driver: "json-file" options: max-size: "10m" max-file: "3" networks: - light-network healthcheck: test: ["CMD", "curl", "-f", "https://localhost:8443/actuator/health", "--insecure"] interval: 30s timeout: 10s retries: 3 start_period: 60s networks: light-network: driver: bridge