Commit Graph

38 Commits

Author SHA1 Message Date
Nick Stokoe
5e04b2f056 snackpot.yml - open ports for terraria 2021-12-03 17:59:35 +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
Nick Stokoe
4be8345f39 inventory - includes snackpot, snackpot.test, py3hosts 2021-02-07 12:47:53 +00:00
Nick Stokoe
04b0d30929 bootstrap.yml - target python3
Ubuntu fossa seems not to have the packages we want for python 2
2021-02-07 12:47:53 +00:00
Nick Stokoe
154a71d54d env-setup - bash implementation 2021-02-07 12:47:53 +00:00
Nick Stokoe
56fa50ec69 initial import from social-coop 2021-02-07 12:47:53 +00:00