version: '3.8'

services:
  ezsepa-landing:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: ezsepa-landing
    ports:
      - "8080:80"
    restart: unless-stopped
    environment:
      - NODE_ENV=production
    labels:
      - "com.ezsepa.description=EzSepa Bank Payment Landing Page"
      - "com.ezsepa.version=1.0.0"
    healthcheck:
      test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/"]
      interval: 30s
      timeout: 3s
      retries: 3
      start_period: 5s
