Init Svelte project, Pocketbase backend, API connection, and mostly Dockerised Co-authored-by: june <self@breadone.net> Co-committed-by: june <self@breadone.net>
16 lines
274 B
YAML
16 lines
274 B
YAML
services:
|
|
web:
|
|
build: .
|
|
env_file: .env
|
|
ports:
|
|
- "4173:4173"
|
|
|
|
pb:
|
|
build: api
|
|
env_file: .env
|
|
volumes:
|
|
- ./data/data:/pb/pb_data
|
|
- ./data/migrations:/pb/pb_migrations
|
|
- ./data/hooks:/pb/pb_hooks
|
|
ports:
|
|
- "8080:8080" |