Update Krusader after old image no longer available

This commit is contained in:
Anarion 2023-03-10 16:07:16 +01:00
parent 2cddba35c4
commit cf77fb6e57
No known key found for this signature in database
GPG key ID: 6C9E149718A7D4EB
2 changed files with 17 additions and 12 deletions

View file

@ -1,9 +1,6 @@
---
krusader_enabled: false
krusader_available_externally: false
krusader_secure_connection: "0"
krusader_vnc_password: "topsecret"
krusader_available_externally: "false"
# uid / gid
krusader_user_id: "0"
@ -14,14 +11,20 @@ krusader_config_directory: "{{ docker_home }}/krusader/config"
krusader_browse_directory: "/"
# network
krusader_port_http: "5800"
krusader_port_http: "6080"
krusader_port_vnc: "5900"
krusader_hostname: "krusader"
# docker
krusader_container_name: "krusader"
krusader_image_name: "djaydev/krusader"
krusader_image_name: "binhex/arch-krusader"
krusader_image_version: "latest"
# specs
krusader_memory: 1g
# krusader
krusader_umask: "000"
krusader_webpage_title: "Tower"
krusader_temp_folder: "/config/krusader/tmp"
krusader_vnc_password: "topsecret"

View file

@ -14,18 +14,20 @@
name: "{{ krusader_container_name }}"
image: "{{ krusader_image_name }}:{{ krusader_image_version }}"
pull: true
privileged: true
volumes:
- "{{ krusader_config_directory }}:/config:rw"
- "{{ krusader_browse_directory }}:/mnt/fs"
ports:
- "{{ krusader_port_http }}:5800"
- "{{ krusader_port_http }}:6080"
- "{{ krusader_port_vnc }}:5900"
env:
USER_ID: "{{ krusader_user_id }}"
GROUP_ID: "{{ krusader_group_id }}"
SECURE_CONNECTION: "{{ krusader_secure_connection }}"
TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ krusader_user_id }}"
PGID: "{{ krusader_group_id }}"
VNC_PASSWORD: "{{ krusader_vnc_password }}"
TEMP_FOLDER: "{{ krusader_temp_folder }}"
WEBPAGE_TITLE: "{{ krusader_webpage_title }}"
UMASK: "{{ krusader_umask }}"
restart_policy: unless-stopped
memory: "{{ krusader_memory }}"
labels:
@ -34,7 +36,7 @@
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].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
- name: Stop Krusader