services: api: build: . ports: - "8080:8080" environment: - DEBUG=False - PORT=8080 - API_USERNAME=admin - API_PASSWORD=password - SIMBRELLA_APP_ID=your_app_id - SIMBRELLA_API_KEY=your_api_key - LOG_LEVEL=INFO volumes: - ./logs:/app/logs restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/v1/api/salary/health"] interval: 30s timeout: 10s retries: 3 start_period: 5s # Add a database service if needed # db: # image: postgres:14 # environment: # - POSTGRES_USER=postgres # - POSTGRES_PASSWORD=postgres # - POSTGRES_DB=simbrella # volumes: # - postgres_data:/var/lib/postgresql/data # restart: unless-stopped # Uncomment if you add the database service # volumes: # postgres_data: