Files
portainer-stacks/libreoffice/docker-compose.yaml
T
2026-04-27 10:05:40 -04:00

30 lines
847 B
YAML

version: "3.8"
services:
libreoffice:
container_name: libreoffice
image: lscr.io/linuxserver/libreoffice:latest
restart: unless-stopped
security_opt:
- no-new-privileges:true
hostname: libreoffice
environment:
TZ: America/New_York
PUID: "1000"
PGID: "1000"
START_DOCKER: "true"
TITLE: "LibreOffice"
LSIO_FIRST_PARTY: "true"
NO_GAMEPAD: "true"
DISABLE_ZINK: "false"
DISABLE_DRI3: "false"
ports:
- "3000:3000/tcp"
- "3001:3001/tcp"
volumes:
- "/home/kdouglas011/libreoffice/config:/config:rw" # ← REPLACE with real Source for /config
- "/home/kdouglas011/Documents:/documents:rw" # ← REPLACE or REMOVE if no /documents mount
working_dir: "/"
entrypoint: ["/init"]
logging:
driver: json-file