mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
Update Krusader after old image no longer available
This commit is contained in:
parent
2cddba35c4
commit
cf77fb6e57
2 changed files with 17 additions and 12 deletions
|
@ -1,9 +1,6 @@
|
||||||
---
|
---
|
||||||
krusader_enabled: false
|
krusader_enabled: false
|
||||||
krusader_available_externally: false
|
krusader_available_externally: "false"
|
||||||
|
|
||||||
krusader_secure_connection: "0"
|
|
||||||
krusader_vnc_password: "topsecret"
|
|
||||||
|
|
||||||
# uid / gid
|
# uid / gid
|
||||||
krusader_user_id: "0"
|
krusader_user_id: "0"
|
||||||
|
@ -14,14 +11,20 @@ krusader_config_directory: "{{ docker_home }}/krusader/config"
|
||||||
krusader_browse_directory: "/"
|
krusader_browse_directory: "/"
|
||||||
|
|
||||||
# network
|
# network
|
||||||
krusader_port_http: "5800"
|
krusader_port_http: "6080"
|
||||||
krusader_port_vnc: "5900"
|
krusader_port_vnc: "5900"
|
||||||
krusader_hostname: "krusader"
|
krusader_hostname: "krusader"
|
||||||
|
|
||||||
# docker
|
# docker
|
||||||
krusader_container_name: "krusader"
|
krusader_container_name: "krusader"
|
||||||
krusader_image_name: "djaydev/krusader"
|
krusader_image_name: "binhex/arch-krusader"
|
||||||
krusader_image_version: "latest"
|
krusader_image_version: "latest"
|
||||||
|
|
||||||
# specs
|
# specs
|
||||||
krusader_memory: 1g
|
krusader_memory: 1g
|
||||||
|
|
||||||
|
# krusader
|
||||||
|
krusader_umask: "000"
|
||||||
|
krusader_webpage_title: "Tower"
|
||||||
|
krusader_temp_folder: "/config/krusader/tmp"
|
||||||
|
krusader_vnc_password: "topsecret"
|
||||||
|
|
|
@ -14,18 +14,20 @@
|
||||||
name: "{{ krusader_container_name }}"
|
name: "{{ krusader_container_name }}"
|
||||||
image: "{{ krusader_image_name }}:{{ krusader_image_version }}"
|
image: "{{ krusader_image_name }}:{{ krusader_image_version }}"
|
||||||
pull: true
|
pull: true
|
||||||
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ krusader_config_directory }}:/config:rw"
|
- "{{ krusader_config_directory }}:/config:rw"
|
||||||
- "{{ krusader_browse_directory }}:/mnt/fs"
|
- "{{ krusader_browse_directory }}:/mnt/fs"
|
||||||
ports:
|
ports:
|
||||||
- "{{ krusader_port_http }}:5800"
|
- "{{ krusader_port_http }}:6080"
|
||||||
- "{{ krusader_port_vnc }}:5900"
|
- "{{ krusader_port_vnc }}:5900"
|
||||||
env:
|
env:
|
||||||
USER_ID: "{{ krusader_user_id }}"
|
PUID: "{{ krusader_user_id }}"
|
||||||
GROUP_ID: "{{ krusader_group_id }}"
|
PGID: "{{ krusader_group_id }}"
|
||||||
SECURE_CONNECTION: "{{ krusader_secure_connection }}"
|
|
||||||
TZ: "{{ ansible_nas_timezone }}"
|
|
||||||
VNC_PASSWORD: "{{ krusader_vnc_password }}"
|
VNC_PASSWORD: "{{ krusader_vnc_password }}"
|
||||||
|
TEMP_FOLDER: "{{ krusader_temp_folder }}"
|
||||||
|
WEBPAGE_TITLE: "{{ krusader_webpage_title }}"
|
||||||
|
UMASK: "{{ krusader_umask }}"
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
memory: "{{ krusader_memory }}"
|
memory: "{{ krusader_memory }}"
|
||||||
labels:
|
labels:
|
||||||
|
@ -34,7 +36,7 @@
|
||||||
traefik.http.routers.krusader.tls.certresolver: "letsencrypt"
|
traefik.http.routers.krusader.tls.certresolver: "letsencrypt"
|
||||||
traefik.http.routers.krusader.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
traefik.http.routers.krusader.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||||
traefik.http.routers.krusader.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
traefik.http.routers.krusader.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||||
traefik.http.services.krusader.loadbalancer.server.port: "5800"
|
traefik.http.services.krusader.loadbalancer.server.port: "6080"
|
||||||
when: krusader_enabled is true
|
when: krusader_enabled is true
|
||||||
|
|
||||||
- name: Stop Krusader
|
- name: Stop Krusader
|
||||||
|
|
Loading…
Reference in a new issue