Nick Stokoe
bd3ad70af4
backup/backup.sh - only create backup whilst services down; check after
2023-04-13 08:02:08 +01:00
Nick Stokoe
88d875d638
backup.sh - log with timestamps
2023-04-12 20:20:34 +01:00
Nick Stokoe
c8b1d00230
templates/docker-compose/borgmatic/backup.sh - refinements
...
Trap failures, ensure cleanup.
Send an email even if we fail.
Break borg locks in cleanup.
Implement testing smtp emails.
2023-04-12 20:01:11 +01:00
Nick Stokoe
68b73990b4
borgmatic config.yaml - set the archive label meaningfully
...
Currently {hostname} expands to an anonymous number. Set this part of
the archive name to something we can recognise.
2023-04-12 20:01:11 +01:00
Nick Stokoe
fe9f3d9bdd
templates/docker-compose/mopidy
2023-04-06 15:14:46 +01:00
Nick Stokoe
ae0ddaea20
templates/docker-compose/docker-compose.yml - add link to doveadm trick
2023-04-04 12:51:25 +01:00
Nick Stokoe
7541bde9c6
snackpot.yml - fixup, enable services
2023-04-04 12:51:00 +01:00
Nick Stokoe
2d3d9217e8
snackpot.yml etc. - add borgmatic backup container
2023-04-04 11:52:08 +01:00
Nick Stokoe
a6872077a9
roles/docker_compose/tasks/main.yml - enable docker buildkit
...
So that COPY --chmod works, which is useful for an ansible copy which
doesn't preserve permissions.
2023-04-03 22:09:25 +01:00
Nick Stokoe
8d7163e7e6
requirements.yml,SETUP.md - prerequisites
2023-04-03 16:51:24 +01:00
Nick Stokoe
c526c6e9c0
INSTALL.md
2023-04-03 16:39:43 +01:00
Nick Stokoe
018b7ec9af
templates/docker-compose/docker-compose.yml - upgrade to NC 26
2023-04-01 18:58:09 +01:00
Nick Stokoe
d088d95f1d
templates/docker-compose/docker-compose.yml - bump nextcloud to v25
2022-12-12 12:29:48 +00:00
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
Nick Stokoe
32cabdd1f4
docker-compose.yml etc. - proxy jellyfin on virtual host
...
nominally working, although some hard-wired values to remove
2021-12-03 17:59:35 +00:00
Nick Stokoe
12f3fcbaaf
docker-compose.yml - reverse proxy the jellyfin container as virtual host
...
we need to take it of host network mode, add it to the proxy-tier and
default networks, then enable proxying and lets-encrypt.
Tested, works.
2021-12-03 17:59:35 +00:00
Nick Stokoe
15ce90e098
docker-compose/docker-compose.yml - upgrade nextcloud to v22
2021-12-03 17:59:35 +00:00
Nick Stokoe
bb20922852
templates/docker-compose/mopidy - update tracked commit
2021-12-03 17:59:35 +00:00
Nick Stokoe
3d09f9d1e9
docker-compose/docker-compose.yml - upgrade nextcloud and others
2021-12-03 17:59:35 +00:00
Nick Stokoe
2512d2ef31
docker-compose/docker-compose.yml - add extra_hosts snackpot:host-gateway for mopidy
2021-12-03 17:59:35 +00:00
Nick Stokoe
a6290fe82d
docker-compose/upmpdcli/upmpdcli.conf - don't check the content format
...
As this will disallow things that should be allowed.
2021-12-03 17:59:35 +00:00
Nick Stokoe
a4f0664663
docker-compose/upmpdcli/Dockerfile - explicitly specify the config file
...
In the command parameters for upmpdcli - otherwise it seems not to be
picked up.
2021-12-03 17:59:35 +00:00
Nick Stokoe
5b3440457f
add jellyfin
2021-12-03 17:59:35 +00:00
Nick Stokoe
73821733cf
docker-compose/upmpdcli/Dockerfile - use python3 not 2
2021-12-03 17:59:35 +00:00
Nick Stokoe
32aaf0fe6b
docker-compose.yml - set mopidy to restart: always
2021-12-03 17:59:35 +00:00
Nick Stokoe
17a04fc559
docker-compose.yml - set upmpdcli to restart: always
2021-12-03 17:59:35 +00:00
Nick Stokoe
18ec2c5320
docker-compose/upmpdcli/Dockerfile - add openssl to the package list
...
upmpdcli seems to use this, optionally
2021-12-03 17:59:35 +00:00
Nick Stokoe
d3fa11cf90
docker-compose.yml - add local audio access to mopidy
2021-12-03 17:59:35 +00:00
Nick Stokoe
caca059da0
snackpot.yml, docker-compose.yml - add mopidy and upmpdcli services
...
mopidy includes icecast
2021-12-03 17:59:35 +00:00
Nick Stokoe
625b2a656a
docker-compose.yml - add MINIDLNA_INOTIFY=yes to minidlna
...
We want it to spot file changes
2021-12-03 17:59:35 +00:00
Nick Stokoe
71d8edab0a
snackpot.yml, docker-compose.yml - these nextcloud paths can be fixed
2021-12-03 17:59:35 +00:00
Nick Stokoe
c160ba5193
snackpot.yml etc. - refine docker-compose config deploy
...
The main job of this commit:
- Be explicit about templates: expect the .j2 extension
- Copy all other files, so that they can be binary
- Don't deploy dotfiles or dotdirectories.
This snuck in:
- Remove `test` tag
- Refine some descriptions
2021-12-03 17:59:35 +00:00
Nick Stokoe
3aaa6deb34
templates/docker-compose/docker-compose.yml - remove some comment cruft
2021-12-03 17:59:35 +00:00
Nick Stokoe
3acc92043c
snackpot.yml - add minidlna containiner
...
set all ports with firewall_ports
2021-12-03 17:59:35 +00:00
Nick Stokoe
375172e34e
roles/ufw/tasks/main.yml - allow more flexible port config
...
specifically, allow specifying protocol
2021-12-03 17:59:35 +00:00
Nick Stokoe
fcad61a6c4
roles/docker_compose/tasks/main.yml - set docker data-root dir
2021-12-03 17:59:35 +00:00
Nick Stokoe
02b37f5680
docker-compose/docker-compose.yml - add nextcloud_cron
...
For running the cron job
2021-12-03 17:59:35 +00:00
Nick Stokoe
8df232dd91
templates/docker-compose/docker-compose.yml - bump nextcloud to v18.0.13
2021-12-03 17:59:35 +00:00
Nick Stokoe
108193a007
snackpot.yml - tag role invocations with docker-config
...
Else tagging doesn't work correctly
2021-12-03 17:59:35 +00:00
Nick Stokoe
3e69a85426
templates/bin/ncadmin - remove crufty comments
2021-12-03 17:59:35 +00:00
Nick Stokoe
b72b413755
templates/docker-compose/docker-compose.yml - share /srv with nextcloud
...
For ease of imports
2021-12-03 17:59:35 +00:00
Nick Stokoe
b602592ea4
snackpot.yml - set up networking on server
2021-12-03 17:59:35 +00:00
Nick Stokoe
32f6767cd4
snackpot.yml - add docker compose config
...
Nominally working and tested on a remote VM
2021-12-03 17:59:35 +00:00
Nick Stokoe
e887ad1898
snackpot.yml - adapt from server.playbook.yml
2021-12-03 17:59:35 +00:00
Nick Stokoe
cc89a3f437
roles/docker_compose/handlers/main.yml - add 'listen' clause
...
So we can notify from outside the role
2021-12-03 17:59:35 +00:00
Nick Stokoe
3866f6a0f2
roles/docker_compose_install/ -> roles/docker_compose
2021-12-03 17:59:35 +00:00
Nick Stokoe
38c2667d2d
docker_compose_install - corrections from original copy
...
Use python 3, don't hardwire docker version, etc.
2021-12-03 17:58:01 +00:00