https://github.com/djuuu/ansible-role-subsonic-docker
Install Subsonic Docker Compose project
https://github.com/djuuu/ansible-role-subsonic-docker
ansible ansible-role docker docker-compose music streaming subsonic
Last synced: 7 months ago
JSON representation
Install Subsonic Docker Compose project
- Host: GitHub
- URL: https://github.com/djuuu/ansible-role-subsonic-docker
- Owner: Djuuu
- License: other
- Created: 2024-11-10T00:00:40.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T00:35:57.000Z (9 months ago)
- Last Synced: 2025-02-24T03:57:02.473Z (8 months ago)
- Topics: ansible, ansible-role, docker, docker-compose, music, streaming, subsonic
- Language: Jinja
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Subsonic-docker
=============================Install Subsonic Docker Compose project.
- https://www.subsonic.org/
Requirements
------------Requires the following to be installed:
- docker
- docker composeRole Variables
--------------Common Docker projects variables:
```yaml
# Base directory for Docker projects
docker_projects_path: # /var/apps
```Available role variables are listed below, along with default values (see `defaults/main.yml`):
```yaml
# Docker project variablessubsonic_project_name: subsonic
# Docker project dynamic vars (uses `docker_project_name` prefix, adapt if overridden)
subsonic_traefik_loadbalancer_server_port: 4040
subsonic_traefik_entrypoints: http,https
subsonic_traefik_middlewares:
- "https-redirect@file"
- "rewrite-location-https@file"# Main service additional docker-compose options (ex: cpu_shares, deploy, ...)
subsonic_compose_service_additional_options: |
#ports:
# - "4040:4040"
``````yaml
# stuckj/subsonic container version
subsonic_version: latest# Media directories
subsonic_media_volumes: []
# - src: /var/music
# - src: /var/podcasts
```Dependencies
------------This role depends on :
- [djuuu.docker_project](https://github.com/Djuuu/ansible-role-docker-project)Some variables allow integration with:
- [djuuu.traefik_docker](https://github.com/Djuuu/ansible-role-traefik-docker)Example Playbook
----------------```yaml
- hosts: all
gather_facts: true
gather_subset:
- "!all"
- "!min"
- user_idroles:
- djuuu.subsonic_docker
```License
-------Beerware License