Recipie/docker-compose.yml
june 3c0e9dc0dd [PIE-14] More robust API proxy (!7)
Finally! Using an Astro API Route to handle all the queries which works like a dream. Also created a custom function to get the relative path for image files, fixing any external access issues.
Co-authored-by: june <self@breadone.net>
Co-committed-by: june <self@breadone.net>
2025-08-13 17:54:45 +12:00

16 lines
280 B
YAML

services:
web:
build: .
env_file: .env
ports:
- "4321:4321"
pb:
build: api
env_file: .env
volumes:
- ./api/pb_data:/pb/pb_data
- ./api/pb_migrations:/pb/pb_migrations
- ./api/pb_hooks:/pb/pb_hooks
ports:
- "8080:8080"