feat: modularize deployment by adding environment-specific compose configurations and standardizing pocketbase data paths
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
|||||||
image: ghcr.io/muchobien/pocketbase:latest
|
image: ghcr.io/muchobien/pocketbase:latest
|
||||||
container_name: pocketbase-learning
|
container_name: pocketbase-learning
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["serve", "--http=0.0.0.0:8090"]
|
command: ["serve", "--http=0.0.0.0:8090", "--dir=/pb/pb_data"]
|
||||||
volumes:
|
volumes:
|
||||||
- pb_data:/pb/pb_data
|
- pb_data:/pb/pb_data
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ services:
|
|||||||
image: ghcr.io/muchobien/pocketbase:latest
|
image: ghcr.io/muchobien/pocketbase:latest
|
||||||
container_name: pocketbase-learning
|
container_name: pocketbase-learning
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["serve", "--http=0.0.0.0:8090"]
|
command: ["serve", "--http=0.0.0.0:8090", "--dir=/pb/pb_data"]
|
||||||
volumes:
|
volumes:
|
||||||
- pb_data:/pb/pb_data
|
- pb_data:/pb/pb_data
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ services:
|
|||||||
image: ghcr.io/muchobien/pocketbase:latest
|
image: ghcr.io/muchobien/pocketbase:latest
|
||||||
container_name: pocketbase-learning
|
container_name: pocketbase-learning
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["serve", "--http=0.0.0.0:8090"]
|
command: ["serve", "--http=0.0.0.0:8090", "--dir=/pb/pb_data"]
|
||||||
volumes:
|
volumes:
|
||||||
- pb_data:/pb/pb_data
|
- pb_data:/pb/pb_data
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user