Files
MilkyShots/docker-compose.yml
REDCODE 26a59b4ac2 fix(ui): add ActionButtons slot to SortFilterBar, move album actions into bar
- Add ActionButtons RenderFragment parameter to SortFilterBar
- Move view mode toggle, select/delete, and new album buttons into
  SortFilterBar's ActionButtons slot in Albums.razor
- Fix AlbumService sortAsc: always send param instead of conditional
2026-07-11 16:40:07 +02:00

68 lines
1.8 KiB
YAML

services:
lactose:
image: lactose
container_name: lactose
build:
#context: ./Lactose
context: .
dockerfile: Lactose/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
# CorsAllowedOrigins must be the URL the *browser* uses to reach MilkStream.
# Use semicolons to specify multiple origins (e.g. http://host1;http://host2).
# Override this with your server's hostname/IP if not running on localhost.
#- CorsAllowedOrigins=http://localhost:8080
- CorsAllowedOrigins=*
ports:
- "5162:8080"
depends_on:
database:
condition: service_healthy
restart: unless-stopped
volumes:
#- "/root/MilkyShots/storageImages:/diary:ro"
- "./storageImages:/diary:ro"
- "thumbs:/app/thumbnails"
- "previews:/app/previews"
database:
#image: tensorchord/pgvecto-rs:pg17-v0.4.0
image: pgvector/pgvector:pg17-trixie
container_name: database
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: testOnlyDb
POSTGRES_DB: TestDb
volumes:
- "pg_dbdata:/var/lib/postgresql/data"
ports:
- "3306:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U root -d TestDb"]
interval: 3s
timeout: 5s
retries: 10
start_period: 10s
restart: unless-stopped
milkstream:
image: milkstream
container_name: milkstream
depends_on:
- lactose
build:
context: .
dockerfile: MilkStream/Dockerfile
environment:
# LactoseBaseUrl must be the address the *browser* can reach Lactose at.
# Override this with your server's hostname/IP if not running on localhost.
- LactoseBaseUrl=http://localhost:5162/
ports:
- "8080:8080"
restart: unless-stopped
volumes:
pg_dbdata:
thumbs:
previews: