mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 02:53:11 +00:00
Fix merge conflict
This commit is contained in:
commit
b61052a7c1
7 changed files with 60 additions and 1 deletions
|
@ -27,6 +27,7 @@ Ansible config and a bunch of Docker containers.
|
|||
* A Personal finance manager
|
||||
* eBook management with calibre-web
|
||||
* Content management with Joomla
|
||||
* A dual panel local file manager
|
||||
|
||||
### Docker Containers Used
|
||||
|
||||
|
@ -34,6 +35,7 @@ Ansible config and a bunch of Docker containers.
|
|||
* [Bazarr](https://github.com/morpheus65535/bazarr) - companion to Radarr and Sonarr for downloading subtitles
|
||||
* [Bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs) - Self-Hosting port of password manager
|
||||
* [Calibre](https://hub.docker.com/r/linuxserver/calibre-web) - eBook Library
|
||||
* [Cloud Commander](https://cloudcmd.io/) - A dual panel file manager with integrated web console and text editor
|
||||
* [Cloudflare DDNS](https://hub.docker.com/r/joshuaavalon/cloudflare-ddns/) - automatically update Cloudflare with your IP address
|
||||
* [CouchPotato](https://couchpota.to/) - for downloading and managing movies
|
||||
* [Duplicati](https://www.duplicati.com/) - for backing up your stuff
|
||||
|
|
11
docs/applications/cloudcmd.md
Normal file
11
docs/applications/cloudcmd.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Cloud Commander file manager
|
||||
|
||||
Homepage: [https://cloudcmd.io/](https://cloudcmd.io/)
|
||||
|
||||
|
||||
Cloud Commander is a file manager for the web. It includes a command-line console and a text editor. Cloud Commander helps you manage your server and work with files, directories and programs in a web browser from any computer, mobile or tablet.
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
Set `cloudcmd_enabled: true` in your `group_vars/all.yml` file. Then setup the folder you want to manager with `cloudcmd_browse_directory`, if you define it as `/` you will see all of your nas in `/mnt/fs`.
|
|
@ -5,11 +5,12 @@ By default, applications can be found on the ports listed below.
|
|||
| Application | Port | Notes |
|
||||
|-----------------|--------|-----------|
|
||||
| Airsonic | 4040 | |
|
||||
| Couchpotato | 5050 | |
|
||||
| Bazarr | 6767 | |
|
||||
| Bitwarden "hub" | 3012 | Web Not. |
|
||||
| Bitwarden | 19080 | HTTP |
|
||||
| Calibre | 8084 | HTTP |
|
||||
| Cloud Commander | 7373 | |
|
||||
| Couchpotato | 5050 | |
|
||||
| Duplicati | 8200 | |
|
||||
| Emby | 8096 | HTTP |
|
||||
| Emby | 8920 | HTTPS |
|
||||
|
|
|
@ -59,6 +59,8 @@ guacamole_enabled: false
|
|||
netdata_enabled: false
|
||||
watchtower_enabled: false
|
||||
cloudflare_ddns_enabled: false
|
||||
cloudcmd_enabled: true
|
||||
|
||||
|
||||
# Backup & Restore
|
||||
duplicati_enabled: false
|
||||
|
@ -522,6 +524,15 @@ miniflux_admin_password: supersecure
|
|||
airsonic_available_externally: "false"
|
||||
airsonic_data_directory: "{{ docker_home }}/airsonic"
|
||||
|
||||
###
|
||||
### CloudCmd
|
||||
###
|
||||
cloudcmd_available_externally: "false"
|
||||
cloudcmd_data_directory: "{{ docker_home }}/cloudcmd/config"
|
||||
cloudcmd_browse_directory: "/"
|
||||
cloudcmd_user_id: 0
|
||||
cloudcmd_group_id: 0
|
||||
|
||||
###
|
||||
### Watchtower
|
||||
###
|
||||
|
|
4
nas.yml
4
nas.yml
|
@ -195,3 +195,7 @@
|
|||
- import_tasks: tasks/jellyfin.yml
|
||||
when: (jellyfin_enabled | default(False))
|
||||
tags: jellyfin
|
||||
|
||||
- import_tasks: tasks/cloudcmd.yml
|
||||
when: (cloudcmd_enabled | default(False))
|
||||
tags: cloudcmd
|
||||
|
|
29
tasks/cloudcmd.yml
Normal file
29
tasks/cloudcmd.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
- name: Create CloudCmd Directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ cloudcmd_data_directory }}"
|
||||
|
||||
- name: CloudCmd
|
||||
docker_container:
|
||||
name: cloudcmd
|
||||
image: coderaiser/cloudcmd
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ cloudcmd_data_directory }}:/config:rw"
|
||||
- "{{ cloudcmd_browse_directory }}:/mnt/fs"
|
||||
ports:
|
||||
- "7373:8000"
|
||||
env:
|
||||
TZ: "{{ ansible_nas_timezone }}"
|
||||
PUID: "{{ cloudcmd_user_id }}"
|
||||
PGID: "{{ cloudcmd_group_id }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: 1g
|
||||
labels:
|
||||
traefik.backend: "cloudcmd"
|
||||
traefik.frontend.rule: "Host:cloudcmd.{{ ansible_nas_domain }}"
|
||||
traefik.enable: "{{ cloudcmd_available_externally }}"
|
||||
traefik.port: "7373"
|
|
@ -183,6 +183,7 @@ onDemand = false # create certificate when container is created
|
|||
"bazarr.{{ ansible_nas_domain }}",
|
||||
"bitwarden.{{ ansible_nas_domain }}",
|
||||
"calibre.{{ ansible_nas_domain }}",
|
||||
"cloudcmd.{{ ansible_nas_domain }}",
|
||||
"couchpotato.{{ ansible_nas_domain }}",
|
||||
"duplicati.{{ ansible_nas_domain }}",
|
||||
"emby.{{ ansible_nas_domain }}",
|
||||
|
|
Loading…
Reference in a new issue