Commit Graph

25 Commits

Author SHA1 Message Date
Nick Stokoe
65d69c7f58 snackpot.yml, docker-compose.yml - add mopidy and upmpdcli services
mopidy includes icecast
2021-02-14 17:59:30 +00:00
Nick Stokoe
5625a1d51a docker-compose.yml - add MINIDLNA_INOTIFY=yes to minidlna
We want it to spot file changes
2021-02-14 17:52:29 +00:00
Nick Stokoe
874d800b58 snackpot.yml - fixup set nextcloud_src etc. 2021-02-14 17:52:03 +00:00
Nick Stokoe
879da752b6 snackpot.uml - fixup set all ports with firewall_ports 2021-02-14 17:50:40 +00:00
Nick Stokoe
31f0d064ac 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-02-14 17:46:45 +00:00
Nick Stokoe
704fbedbae templates/docker-compose/docker-compose.yml - remove some comment cruft 2021-02-12 16:37:00 +00:00
Nick Stokoe
f5026efcc7 snackpot.yml - fixup, get all the ports from firewall_ports 2021-02-12 16:30:21 +00:00
Nick Stokoe
da7a33310b snackpot.yml - add minidlna containiner 2021-02-07 16:02:56 +00:00
Nick Stokoe
be41a87087 roles/ufw/tasks/main.yml - allow more flexible port config
specifically, allow specifying protocol
2021-02-07 16:02:15 +00:00
Nick Stokoe
358734d403 roles/docker_compose/tasks/main.yml - set docker data-root dir 2021-02-07 13:09:03 +00:00
Nick Stokoe
01ddd57da3 docker-compose/docker-compose.yml - add nextcloud_cron
For running the cron job
2021-02-07 13:09:03 +00:00
Nick Stokoe
8fa9d4ceff templates/docker-compose/docker-compose.yml - bump nextcloud to v18.0.13 2021-02-07 13:09:03 +00:00
Nick Stokoe
88a633bb94 snackpot.yml - tag role invocations with docker-config
Else tagging doesn't work correctly
2021-02-07 13:09:03 +00:00
Nick Stokoe
a10e2a6663 templates/bin/ncadmin - remove crufty comments 2021-02-07 13:09:03 +00:00
Nick Stokoe
96727cf17b templates/docker-compose/docker-compose.yml - share /srv with nextcloud
For ease of imports
2021-02-07 13:09:03 +00:00
Nick Stokoe
1b6c2aa19a snackpot.yml - set up networking on server 2021-02-07 13:09:03 +00:00
Nick Stokoe
d2bcfec810 snackpot.yml - add docker compose config
Nominally working and tested on a remote VM
2021-02-07 13:08:33 +00:00
Nick Stokoe
8637cb2af4 snackpot.yml - adapt from server.playbook.yml 2021-02-07 13:08:33 +00:00
Nick Stokoe
40755cdd97 roles/docker_compose/handlers/main.yml - add 'listen' clause
So we can notify from outside the role
2021-02-07 13:08:33 +00:00
Nick Stokoe
9a79fe8078 roles/docker_compose_install/ -> roles/docker_compose 2021-02-07 13:08:33 +00:00
Nick Stokoe
e23ba65b8f docker_compose_install - fixup from docker-install
python 3 etc.
2021-02-07 12:47:53 +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