services: gallery: build: . container_name: gallery restart: unless-stopped ports: - "127.0.0.1:8003:8080" volumes: - ${GALLERY_PHOTOS_DIR:-./photos}:/photos:ro - ./cache:/cache environment: GALLERY_TITLE: ${GALLERY_TITLE:-gallery}