83aad38053
Deploy / deploy (push) Failing after 1s
Mount /mnt/HC_Volume_105945736/vfxreview-uploads at /app/uploads instead of ./uploads, so uploads no longer fill the VPS root disk. The host folder must be owned by uid 1001 (the nextjs user). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
908 B
YAML
56 lines
908 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
vfxreview:
|
|
build: .
|
|
container_name: vfxreview
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
# Uploads live on the Hetzner volume, not the root disk (uid 1001 must own it)
|
|
- /mnt/HC_Volume_105945736/vfxreview-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:
|
|
pgdata:
|
|
|
|
networks:
|
|
app-net:
|
|
|
|
npm_default:
|
|
external: true
|