refactor: remove browserless service and related environment variables from Docker configurations

This commit is contained in:
Marco Pedone 2026-04-03 19:00:26 +02:00
parent f52dd96c11
commit ced51c4111
4 changed files with 1 additions and 27 deletions

View file

@ -85,8 +85,7 @@ ARG STORAGE_URL
ENV STORAGE_URL=$STORAGE_URL
ARG STORAGE_TOKEN
ENV STORAGE_TOKEN=$STORAGE_TOKEN
ARG BROWSER_WS_URL
ENV BROWSER_WS_URL=$BROWSER_WS_URL
RUN apk add --no-cache curl pandoc typst

View file

@ -32,16 +32,6 @@ services:
timeout: 5s
retries: 5
start_period: 10s
browserless:
image: browserless/chrome:latest
ports:
- "8081:3000" # Optional: Access the debug dashboard at localhost:8080
environment:
- MAX_CONCURRENT_SESSIONS=5
- PREBOOT_CHROME=true
- KEEP_ALIVE=true
- CONNECTION_TIMEOUT=300000
restart: always
volumes:
tiles-data:

View file

@ -30,7 +30,6 @@ export const env = createEnv({
REVALIDATION_SECRET: z.string(),
STORAGE_URL: z.string(),
STORAGE_TOKEN: z.string(),
BROWSER_WS_URL: z.string(),
},
client: {
NEXT_PUBLIC_BASE_URL: z.string(),

View file

@ -96,19 +96,6 @@ services:
limits:
cpus: "0.5"
browserless:
image: browserless/chrome:latest
networks:
- dokploy-network
expose:
- 3000
environment:
- MAX_CONCURRENT_SESSIONS=5
- PREBOOT_CHROME=true
- KEEP_ALIVE=true
- CONNECTION_TIMEOUT=300000
restart: always
backend:
image: "${IMAGE_REGISTRY:-ghcr.io}/${OWNER:-marcopedone}/${PREFIX:-infoalloggi}-backend:${TAG:-latest}"
networks:
@ -174,7 +161,6 @@ services:
SKEBBY_PASS: ${SKEBBY_PASS}
STORAGE_URL: http://storage:8080
STORAGE_TOKEN: ${STORAGE_TOKEN}
BROWSER_WS_URL: "ws://browserless:3000"
networks:
- dokploy-network
expose: