32 lines
964 B
Markdown
32 lines
964 B
Markdown
# Setting up cloudflare tunnel
|
|
|
|
Go to :: https://dash.cloudflare.com/
|
|
|
|
**Important**: Make sure you have a domain set up already, if not or expired go to namecheap and get one
|
|
|
|
Go to Zero Trust -> Networks -> Tunnels
|
|
|
|
## Creating a new tunnel
|
|
|
|
1. Select Cloudflared
|
|
2. Give it a name
|
|
3. Copy the cloudflare command as this will contain the tunnel token
|
|
4. Route Tunnel
|
|
- Subdomain: immich
|
|
- Domain: your domain bought from namecheap (cathulu.online)
|
|
- Path: LEAVE BLANK
|
|
- Service Type: HTTP/HTTPS
|
|
- Service URL: `DOCKER_CONTAINER_NAME:EXPOSED_PORT`
|
|
|
|
## Adding to an existing tunnel
|
|
|
|
1. Make sure the status of the tunnel is "HEALTHY"
|
|
2. Three dots far right -> Configure
|
|
3. Public Hostname tab -> 'Add a public hostname'
|
|
4. Add public hostname
|
|
- Subdomain: immich
|
|
- Domain: your domain bought from namecheap (cathulu.online)
|
|
- Path: LEAVE BLANK
|
|
- Service Type: HTTP/HTTPS
|
|
- Service URL: `DOCKER_CONTAINER_NAME:EXPOSED_PORT`
|