Without this, files were saved with http://localhost:3000/uploads/... URLs which are unreachable from the browser. Now uses the public backend domain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
349 B
YAML
19 lines
349 B
YAML
services:
|
|
backend:
|
|
build: ./backend
|
|
ports:
|
|
- '3001:3001'
|
|
environment:
|
|
- PORT=3001
|
|
- STORAGE_URL=https://backend.prosapp.co/uploads
|
|
|
|
admin:
|
|
build:
|
|
context: ./admin
|
|
args:
|
|
- NEXT_PUBLIC_API_URL=https://backend.prosapp.co/api/v1
|
|
ports:
|
|
- '5173:3000'
|
|
environment:
|
|
- PORT=3000
|