diff --git a/Dockerfile b/Dockerfile index aeb83a5..884bf3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ COPY --from=prod-deps /app/node_modules ./node_modules COPY --from=build /app/dist ./dist EXPOSE 4321 -CMD ['node', './dist/server/entry.mjs'] \ No newline at end of file +CMD ["node", "./dist/server/entry.mjs"] \ No newline at end of file diff --git a/compose.yml b/compose.yml index fb700b9..5e2f115 100644 --- a/compose.yml +++ b/compose.yml @@ -13,27 +13,5 @@ services: ports: - "8090:8090" volumes: - - /opt/pocketbase/pb_data:/pb_data - - /opt/pocketbase/pb_public:/pb_public - # caddy: - # container_name: "caddy-gallery" - # image: videah/caddy-proxy:latest - # ports: - # - "80:80" - # - "443:443" - # - "443:443/udp" - # environment: - # - CADDY_INGRESS_NETWORKS=caddy - # networks: - # - caddy - # volumes: - # - /var/run/docker.sock:/var/run/docker.sock - # - caddy_data:/data - # restart: unless-stopped - -networks: - caddy: - external: true - -volumes: - caddy_data: {} \ No newline at end of file + - ./pocketbase/pb_data:/pb_data + - ./pocketbase/pb_public:/pb_public