Skip to content

Commit

Permalink
improve nextcloud config init
Browse files Browse the repository at this point in the history
This squelches a couple warnings at /settings/admin/overview.

see https://hub.docker.com/_/nextcloud/
  • Loading branch information
meonkeys committed May 2, 2024
1 parent f1afacf commit a342f5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mario/ansible/roles/services/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@

# 'CONFIG = array' below is an arbitrary choice, it's just something that always
# should exist in the Nextcloud config file
#
# `occ config:system:set` is probably a better way to do these config edits.
# See docker-entrypoint.sh in https://github.com/nextcloud/docker/

- name: Add phone region to Nextcloud config
lineinfile:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ services:
REDIS_HOST: redis
REDIS_HOST_PASSWORD: redispassword
OVERWRITEPROTOCOL: https
TRUSTED_PROXIES: traefik-reverse-proxy-1
OVERWRITECLIURL: https://cloud.{{ lookup('env', 'MARIO_DOMAIN_NAME') }}
TRUSTED_PROXIES: 172.18.0.0/16
labels:
- "traefik.enable=true"
- "traefik.http.routers.nc-https.entrypoints=websecure"
Expand Down

0 comments on commit a342f5e

Please sign in to comment.