Add original footage to shots function
Deploy / deploy (push) Has been cancelled

This commit is contained in:
twotalesanimation
2026-05-20 11:02:33 +02:00
parent 5c1fd9f288
commit bcea123112
12 changed files with 880 additions and 326 deletions
+46 -64
View File
@@ -1,72 +1,54 @@
version: "3.8"
services:
# ── PostgreSQL ──────────────────────────────────────────
postgres:
image: postgres:16-alpine
container_name: vfxreview_db
restart: unless-stopped
environment:
POSTGRES_DB: vfxreview
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
vfxreview:
image: vfxreview:1.0.1
container_name: vfxreview
# ── MinIO (S3-compatible local storage) ────────────────
minio:
image: minio/minio:latest
container_name: vfxreview_storage
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
# ── App (production build) ─────────────────────────────
app:
build:
context: .
dockerfile: Dockerfile
platforms:
- linux/arm64
- linux/amd64
container_name: vfxreview_app
restart: unless-stopped
environment:
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/vfxreview
NEXTAUTH_URL: http://localhost:3000
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
STORAGE_PROVIDER: minio
MINIO_ENDPOINT: http://minio:9000
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
MINIO_BUCKET_NAME: vfx-review
ports:
- "3000:3000"
depends_on:
postgres:
condition: service_healthy
minio:
condition: service_healthy
env_file:
- .env
volumes:
- ./uploads:/app/uploads
depends_on:
postgres:
condition: service_healthy
networks:
- app-net
- npm_default
postgres:
image: postgres:15
container_name: vfxreview-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: feedback
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 10
restart: always
networks:
- app-net
volumes:
postgres_data:
minio_data:
pgdata:
networks:
app-net:
npm_default:
external: true