Use Dockerfile for nextcloud to install ffmpeg for Momories nextcloud app

This commit is contained in:
compute 2025-01-04 13:43:51 +00:00
parent fb73b1a96e
commit aa7ee059f8
2 changed files with 13 additions and 2 deletions

7
nextcloud/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM nextcloud:28
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
ffmpeg \

View File

@ -8,7 +8,9 @@ services:
env_file: live.env env_file: live.env
image: mariadb:10.11 image: mariadb:10.11
container_name: nextcloud-db container_name: nextcloud-db
command: --transaction-isolation=READ-COMMITTED --log-bin=ROW command:
--transaction-isolation=READ-COMMITTED --log-bin=ROW
--log_bin_trust_function_creators=true
labels: labels:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
networks: networks:
@ -50,7 +52,9 @@ services:
extra_hosts: extra_hosts:
- "${NEXTCLOUD_FQDN}:${TRAEFIK_CONTAINER_IP}" - "${NEXTCLOUD_FQDN}:${TRAEFIK_CONTAINER_IP}"
- "${COLLABORA_FQDN}:${TRAEFIK_CONTAINER_IP}" - "${COLLABORA_FQDN}:${TRAEFIK_CONTAINER_IP}"
image: nextcloud:28 build:
context: ./
dockerfile: Dockerfile
labels: labels:
# Watchtower # Watchtower
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"