``refactor Update docker-compose configurations, adjust PocketBase Dockerfile, modify seed scripts to use 'state' instead of 'status', and fix paths in development scripts
``
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# related to ./scripts/dc_dev.sh
|
||||
# consider we are starting in project/002_source/docker, see dc_dev.sh
|
||||
|
||||
volumes:
|
||||
shared:
|
||||
dist:
|
||||
@@ -16,10 +19,14 @@ services:
|
||||
ports:
|
||||
- 8090:8090
|
||||
volumes:
|
||||
# group custom persistant data inside docker directory
|
||||
- ./volumes/pocketbase/pb_data:/pb_data
|
||||
#
|
||||
# group dev, seed, schemas into pocketbase dirctory
|
||||
- ../pocketbase/pb_migrations:/pb_migrations
|
||||
- ../pocketbase/pb_hooks:/pb_hooks
|
||||
|
||||
# TODO: resume healthcheck in prod
|
||||
# healthcheck:
|
||||
# #optional (recommended) since v0.10.0
|
||||
# test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
|
||||
@@ -30,6 +37,6 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: 0.5
|
||||
cpus: 0.1
|
||||
reservations:
|
||||
cpus: 0.01
|
||||
|
Reference in New Issue
Block a user