name: petloft-staging

services:
  storefront:
    image: ${REGISTRY}/storefront:staging
    restart: unless-stopped
    ports:
      - "3001:3000"
    env_file:
      - path: .env
        required: false
    environment:
      - CLERK_SECRET_KEY

  admin:
    image: ${REGISTRY}/admin:staging
    restart: unless-stopped
    ports:
      - "3002:3001"
    env_file:
      - path: .env
        required: false
    environment:
      - CLERK_SECRET_KEY=${ADMIN_CLERK_SECRET_KEY}
      - CLOUDINARY_API_SECRET
