4 Commits

Author SHA1 Message Date
Nick Stokoe
ea8c22f1ae templates/docker-compose/docker-compose.yml - fix disappearing ext share links
See
https://github.com/nextcloud/server/issues/25852#issuecomment-997964401

External mount share links are disappearing after a few minutes.
2022-08-18 10:44:30 +01:00
Nick Stokoe
c58eed2657 docker-compose.yml - update nextcloud to v24
The upgrade was actually executed in steps, v22 -> v23 -> v24, and the
net result committed.
2022-07-01 06:53:37 +01:00
Nick Stokoe
181a1967f9 name MiniDLNA and UpMpdCli servers distinctly
So we can tell which one we are seeing in listings
2021-12-04 15:59:26 +00:00
Nick Stokoe
31ec4b2d2e fixup hardwired paths 2021-12-04 15:58:52 +00:00
4 changed files with 23 additions and 25 deletions

View File

@@ -32,10 +32,6 @@
- "5555" - "5555"
# icecast # icecast
- "8000" - "8000"
# terraria
- "7777"
- "7778"
- "7779"
tasks: tasks:
- hostname: - hostname:
@@ -63,21 +59,21 @@
vars: vars:
ufw_allow: "{{ firewall_ports }}" ufw_allow: "{{ firewall_ports }}"
# - include_role: - include_role:
# name: mrlesmithjr.netplan name: mrlesmithjr.netplan
# apply: { become: true, tags: [netplan, network] } apply: { become: true, tags: [netplan, network] }
# tags: netplan, network tags: netplan, network
# vars: vars:
# netplan_enabled: true netplan_enabled: true
# netplan_configuration: netplan_configuration:
# network: network:
# version: 2 version: 2
# ethernets: ethernets:
# enp3s0: enp3s0:
# addresses: [192.168.0.55/24] addresses: [192.168.0.55/24]
# gateway4: 192.168.0.1 gateway4: 192.168.0.1
# nameservers: nameservers:
# addresses: [192.168.0.1] addresses: [192.168.0.1]
- include_role: - include_role:
name: docker_compose name: docker_compose

View File

@@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
dc_dir={{ docker_compose_base_dir }} dc_dir={{ docker_compose_base_dir }}
nextcloud_base_dir={{ nextcloud_base_dir }} nextcloud_base_dir=/var/www/html
nextcloud_data_dir={{ nextcloud_data_dir }} nextcloud_data_dir=/var/www/data
postgres_db_user={{ postgres_db_user }} postgres_db_user={{ postgres_db_user }}
nextcloud_db_user={{ nextcloud_db_user }} nextcloud_db_user={{ nextcloud_db_user }}
nextcloud_db={{ nextcloud_db }} nextcloud_db={{ nextcloud_db }}

View File

@@ -54,7 +54,7 @@ services:
- redis:/data - redis:/data
nextcloud: nextcloud:
image: nextcloud:22-fpm-alpine image: nextcloud:24-fpm-alpine
restart: always restart: always
volumes: volumes:
- nextcloud_src:/var/www/html - nextcloud_src:/var/www/html
@@ -74,11 +74,13 @@ services:
# test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:3000/health || exit 1"] # test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:3000/health || exit 1"]
nextcloud_cron: nextcloud_cron:
image: nextcloud:22-fpm-alpine image: nextcloud:24-fpm-alpine
restart: always restart: always
volumes: volumes:
- nextcloud_src:/var/www/html - nextcloud_src:/var/www/html
- nextcloud_data:/var/www/data - nextcloud_data:/var/www/data
- minidlna_data:/var/www/ext/media
- /srv:/srv
entrypoint: /cron.sh entrypoint: /cron.sh
depends_on: depends_on:
- postgres - postgres
@@ -160,7 +162,7 @@ services:
- MINIDLNA_INOTIFY=yes - MINIDLNA_INOTIFY=yes
- MINIDLNA_MEDIA_DIR_1=A,/media/audio - MINIDLNA_MEDIA_DIR_1=A,/media/audio
- MINIDLNA_MEDIA_DIR_2=V,/media/video - MINIDLNA_MEDIA_DIR_2=V,/media/video
- MINIDLNA_FRIENDLY_NAME=Snackpot - MINIDLNA_FRIENDLY_NAME=MiniDLNA@Snackpot
mopidy: mopidy:
build: ./mopidy build: ./mopidy

View File

@@ -11,7 +11,7 @@
upnpip = 192.168.0.243 upnpip = 192.168.0.243
# media renderer parameters # media renderer parameters
friendlyname = Snackpot friendlyname = UpMpdCli@Snackpot
#upnpav = 1 #upnpav = 1
#openhome = 1 #openhome = 1
#lumincompat = 0 #lumincompat = 0