{"id":13552481,"url":"https://github.com/tkwant/docker-traefik-nextcloud-nginx","last_synced_at":"2025-04-03T03:31:52.316Z","repository":{"id":215009930,"uuid":"372183234","full_name":"tkwant/docker-traefik-nextcloud-nginx","owner":"tkwant","description":"docker compose files for traefik nextcloud and nginx","archived":false,"fork":false,"pushed_at":"2022-09-07T13:51:29.000Z","size":263,"stargazers_count":38,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-03T23:34:55.480Z","etag":null,"topics":["docker","docker-compose","nextcloud","nginx","traefik"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkwant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-05-30T10:20:06.000Z","updated_at":"2023-12-02T23:25:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8fff7458-d4dd-4b57-a0b0-2c9eafbdb418","html_url":"https://github.com/tkwant/docker-traefik-nextcloud-nginx","commit_stats":null,"previous_names":["tkwant/docker-traefik-nextcloud-nginx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkwant%2Fdocker-traefik-nextcloud-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkwant%2Fdocker-traefik-nextcloud-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkwant%2Fdocker-traefik-nextcloud-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkwant%2Fdocker-traefik-nextcloud-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkwant","download_url":"https://codeload.github.com/tkwant/docker-traefik-nextcloud-nginx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933424,"owners_count":20857049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","nextcloud","nginx","traefik"],"created_at":"2024-08-01T12:02:04.670Z","updated_at":"2025-04-03T03:31:47.305Z","avatar_url":"https://github.com/tkwant.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# docker-traefik-nextcloud-nginx\ndocker compose files for traefik, nextcloud and nginx\n\n#### Docker versions in test environment\n\n- Docker version 20.10.6, build 370c289\n- docker-compose version 1.25.5, build 8a1c60f6\n\n### Getting started\n\n**ENV**\n\nAdjust the the .env files in nextcloud, traefik, nginx and dozzle\n\nin line 26 in traefik/docker-compose.yml enter your basic auth string (replace USER:AUTH). You can generate the authentification string with this commands:\n```\napt-get install apache2-utils\necho $(htpasswd -nb user password) | sed -e s/\\\\$/\\\\$\\\\$/g\n```\n\n**Next Steps**\n1. change the emailadress in traefik/volume/traefik.yml file (line 20)\n2. ```docker network create proxy```\n3. ```bash startall.sh``` \n\n**Nextcloud**\nAfter the nextcloud url has been called, nextcloud must be configured like this\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"/nextcloud.png\" width=\"50%\"\u003e\n    \u003cbr/\u003e\u003cbr/\u003e\n\u003c/p\u003e\n\nif you get permission denied error after clicking \"finish installation\" you have to delete the volumes and restart the containers. \n\n### Adding containers\nYou can use the nginx docker-compose.yaml file as a template. \nYou have to adjust the labels for the new container in the docker-compose.yml file. (see example in dozzle/docker-compose.yml)\n\nFor demonstration purpose I added dozzle. With dozzle you can view your container logs on a webpage.\n\nI edited the following labels\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"/add_containers.png\" width=\"50%\"\u003e\n    \u003cbr/\u003e\u003cbr/\u003e\n\u003c/p\u003e\n\nI also added basic authentifcation to the labels with the following two lines. The same as the traefik container, only with replacing traefik with dozzle and changing USER:PASS authentification string.\n\n```\n- \"traefik.http.middlewares.dozzle-auth.basicauth.users=USER:PASS\"\n- \"traefik.http.routers.dozzle-secure.middlewares=secHeaders@file,dozzle-auth\"\n```\n\nIn the .env file I changed the url. \n\n### Contribution\nAll contributions are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkwant%2Fdocker-traefik-nextcloud-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkwant%2Fdocker-traefik-nextcloud-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkwant%2Fdocker-traefik-nextcloud-nginx/lists"}