mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 11:06:43 +01:00
f737f49662
Signed-off-by: Ismail Yenigul <ismailyenigul@gmail.com>
834 B
834 B
Trafik Multi Network Deployment
- Create Traefik network
# docker network create --driver=bridge --attachable --internal=false traefik
-
Edit
traefik2/docker-compose.yml
- Change ACME email
- Change --providers.docker.network=traefik value if you created different network then
traefik
-
Deploy traefik
docker-compose -f traefik2/docker-compose.yml up -d
- Edit
nextcloud/docker-compose.yml
- Change traefik.http.routers.nextcloud.rule Host
- Remove
traefik.http.middlewares.nextcloud.headers.customFrameOptionsValue
andcontentSecurityPolicy
if you dont need to iframe access from your external website - Change PostgreSQL environments
- Edit
TRUSTED_PROXIES
with your traefik network address
- Deploy nextcloud
docker-compose -f nextcloud/docker-compose.yml up -d