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>
16 lines
280 B
YAML
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" |