blob: 89b7dec25621f97187842bf80c1fa3195caf1c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|