version: '3' services: onlyoffice: image: onlyoffice/documentserver:8.0.1.1 container_name: ${CONTAINER_NAME} restart: always networks: - 1panel-network ports: - "${PANEL_APP_PORT_HTTP}:80" volumes: - ./data/logs:/var/log/onlyoffice - ./data/data:/var/www/onlyoffice/Data - ./data/lib:/var/lib/onlyoffice - ./data/db:/var/lib/postgresql environment: - JWT_SECRET=${JWT_SECRET} labels: createdBy: "Apps" networks: 1panel-network: external: true