diff options
Diffstat (limited to '174bg/database/docker-compose.yaml')
| -rw-r--r-- | 174bg/database/docker-compose.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/174bg/database/docker-compose.yaml b/174bg/database/docker-compose.yaml new file mode 100644 index 0000000..89b7dec --- /dev/null +++ b/174bg/database/docker-compose.yaml @@ -0,0 +1,25 @@ +services: + pocketbase: + build: + context: . + dockerfile_inline: | + FROM alpine:3.22 + + ARG PB_VERSION=0.39.9 + + RUN apk add --no-cache \ + unzip \ + ca-certificates + + ADD https://github.com/pocketbase/pocketbase/releases/download/v$${PB_VERSION}/pocketbase_$${PB_VERSION}_linux_amd64.zip /tmp/pb.zip + RUN unzip /tmp/pb.zip -d /pb/ + + EXPOSE 8080 + + CMD ["/pb/pocketbase", "serve", "--http=0.0.0.0:8080"] + ports: + - "50499:8080" + restart: unless-stopped + volumes: + - ./volumes/pocketbase/pb_data:/pb/pb_data + - ./volumes/pocketbase/pb_hooks:/pb/pb_hooks
\ No newline at end of file |
