Skip to content

Commit

Permalink
Few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
micxer committed Jan 17, 2025
1 parent 346e78c commit 7f00c3f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ homestack_traefik_version: 2.11.3
homestack_error_pages_version: 2.27
homestack_error_pages_theme: matrix
# homestack_traefik_hostingde_api_key: # must be set
homestack_traefik_hostingde_domain: example.com
homestack_traefik_base_domain: example.com
# homestack_traefik_base_path: # must be set

Expand All @@ -23,7 +24,7 @@ homestack_nextcloud_mysql_root_password: "password"
homestack_nextcloud_admin_user: admin
homestack_nextcloud_admin_password: 5UP3r53Cr37P455W0rD
# local_domain: # must be set
homestack_nextcloud_image: nextcloud:29.0.7-apache
homestack_nextcloud_image_version: 29.0.7-apache
# homestack_nextcloud_smtp_host: "" # must be set
# homestack_nextcloud_smtp_name: "" # must be set
# homestack_nextcloud_smtp_password: "" # must be set
Expand Down
4 changes: 2 additions & 2 deletions tasks/nextcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
ansible.builtin.template:
src: "docker-compose-nextcloud.yml.j2"
dest: "{{ homestack_output_path }}/docker-compose-nextcloud.yml"
owner: "{{ homestack_nextcloud_uid }}"
group: "{{ homestack_nextcloud_gid }}"
owner: "{{ homestack_uid }}"
group: "{{ homestack_gid }}"
mode: "0600"
backup: true
1 change: 1 addition & 0 deletions templates/docker-compose-nextcloud.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ services:
retries: 10
image: nextcloud:{{ homestack_nextcloud_image_version }}
networks:
- traefik
- nextcloud
restart: unless-stopped
volumes_from:
Expand Down
4 changes: 2 additions & 2 deletions templates/docker-compose-traefik.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: traefik:{{ homestack_traefik_version }}
environment:
HOSTINGDE_API_KEY: "{{ homestack_traefik_hostingde_api_key }}"
HOSTINGDE_ZONE_NAME: "{{ homestack_traefik_base_domain }}"
HOSTINGDE_ZONE_NAME: "{{ homestack_traefik_hostingde_domain }}"
TZ: Europe/Berlin
healthcheck:
test: ["CMD", "traefik", "healthcheck"]
Expand Down Expand Up @@ -71,7 +71,7 @@ services:
TEMPLATE_NAME: "{{ homestack_error_pages_theme }}"
image: ghcr.io/tarampampam/error-pages:{{ homestack_error_pages_version }}
labels:
traefik.enable: "True"
traefik.enable: true
traefik.http.routers.error-pages-router.rule: "HostRegexp(`{host:.+}`)"
traefik.http.routers.error-pages-router.priority: "1"
traefik.http.routers.error-pages-router.entrypoints: "websecure"
Expand Down

0 comments on commit 7f00c3f

Please sign in to comment.