services: app: build: context: .. dockerfile: Chrono/Dockerfile args: - TELERIK_LICENSE=${TELERIK_LICENSE} - TELERIK_USERNAME=${TELERIK_USERNAME} - TELERIK_PASSWORD=${TELERIK_PASSWORD} ports: - "8080:8080" environment: - TELERIK_LICENSE=${TELERIK_LICENSE} - ConnectionStrings__DefaultConnection=Host=db;Database=chrono;Username=postgres;Password=postgres depends_on: db: condition: service_healthy db: image: postgres:17-alpine ports: - "5432:5432" environment: - POSTGRES_DB=chrono - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 5 volumes: - postgres_data:/var/lib/postgresql/data volumes: postgres_data: