feat: add portkey-gateway/libreoffice/jodconverter/bolt-diy
This commit is contained in:
43
src/libreoffice/docker-compose.yaml
Normal file
43
src/libreoffice/docker-compose.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
libreoffice:
|
||||
<<: *default
|
||||
image: lscr.io/linuxserver/libreoffice:${LIBREOFFICE_VERSION:-latest}
|
||||
ports:
|
||||
- "${LIBREOFFICE_HTTP_PORT_OVERRIDE:-3000}:3000"
|
||||
- "${LIBREOFFICE_HTTPS_PORT_OVERRIDE:-3001}:3001"
|
||||
volumes:
|
||||
- libreoffice_config:/config
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
- TZ=${TZ:-UTC}
|
||||
- CUSTOM_USER=${CUSTOM_USER:-abc}
|
||||
- PASSWORD=${PASSWORD:-}
|
||||
- UMASK=${UMASK:-022}
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "-k", "https://localhost:3001/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
volumes:
|
||||
libreoffice_config:
|
||||
Reference in New Issue
Block a user