-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Expose to 0.0.0.0 #72
Comments
Update, changing to my local IP works locally (instead of 0.0.0.0:8888, use localip:8888, in my case 10.1.10.100:8888), however I am trying to assign this to a domain @ notes.mydomain.com, and while I can load this on my local net, trying to load on notes.mydomain.com loads the blank page again, while the UC Admin can be accessed just fine I've got an NGINX proxy manager on a different server that is pointing back to this instance |
I'm trying to do exatcly the same. Have you found a solution to this? Thanks |
Bump |
这个问题我也遇到了 但是,这个nginx代理就会出问题。外网访问 ,但是无法绑定域名。 |
I found how to fix this, Combined with the resolution in here of adding user: 0:0 // add this line <---------------------------- This line does not exist, add it to wk-outline in the Docker Compose and what I'm about to post here, this should work for you all, too FULL STEPS OF HOW I SET THIS UP (scroll down to the code chunks to see the config.sh configs): Create an Ubuntu / Debian Container / VM Install Updates and Upgrades Install Docker, Make, and Nano Clone the Git Clone the config.sh from scripts/config.sh.example Nano the config.sh Then, “Make Install” Commands: Start Off: cd / mkdir outlineserverfolder Apt-get update && apt-get upgrade -y Apt install make && apt install nano Install Docker: apt-get install ca-certificates curl gnupg install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg sudo chmod a+r /etc/apt/keyrings/docker.gpg echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null apt-get update apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose Install Outline from Github: outline-docker-compose-master.zipcd directory/where/outlinedata/is/stored (/outlineserverfolder in this case) git clone https://github.com/vicalloy/outline-docker-compose.git cd outline-docker-compose cp /scripts/config.sh.sample scripts/config.sh nano scripts/config.sh OutlineConfig: URL= (PublicFacingURL:PublicFacingPort[PORT REQUIRED!])notes.mydomain.com:443 PORT= 3000 NginxConfig: URL=0.0.0.0 (Ties Nginx Container to the Host IP) PORT = 8888 CTRL + O to save, CTRL + X to exit nano Run the MakeFile to Install and Setup the Server: make install Other Commands: docker ps ~ Will show Docker Containers docker exec -it /bin/bash ~ executes /bin/bash on container, CTRL+P+Q to exit make install ~ Installs and Sets Up the server make start ~ Starts all associated containers make stop ~ Stops all associated containers make clean ~ Clears data from all containers Notes regarding- Outline Config: URL = PublicFacingURL:PublicFacingPort The URL and domain that you are using to host this with the port of the site. Essentially, if you host this at notes.yourdomain.com via cloudflare, and you’re pointing it back to an NGINX proxy, the service itself will host on the NginxConfig host, 0.0.0.0, and is accessible via port 8888, so redirect from notes.yourdomain.com to the IP Address of the Outline host on port 8888, ensure 443 and 80 are open in your firewall, and in the configuration, when it is asking for the OutlineConfig URL, ensure that you list both the domain URL and the port utilized (if using HTTP, port 80, if HTTPS, port 443) in the Outline Config, the port is a required element How this is setup: Docker Host: 192.168.1.100 Config File:
Nginx Proxy Manager:
Firewall(s):
Access:
In this current state, photos will fail to upload anywhere. Within the docker-compose.yml,
|
Please ping me if anyone has issues with understanding that, I just copy pasted from my Outline page |
Thanks it works! clone gitgit clone https://github.com/vicalloy/outline-docker-compose.git
cd outline-docker-compose
cp scripts/config.sh.sample scripts/config.sh Change configurationnano scripts/config.sh
Change configuration - 2nano scripts/templates/docker-compose.yml
Install and runmake install |
Anyone has tried this approach with traefik? I tried numbers on configuration to use traefik as reverse proxy but it would only work temporarily then nginx would result in |
Mine still not working. then I set up nginx reverse proxy with my own domain name pointing to my local ip and port 8888 but when I go to https://docs.stonelab.me |
Hey there,
Thank you so much for this project!! 4 little instructions to install, WAY simpler than the native way!
Currently, I am trying to host this in a container for my local network, however the way this is setup natively:
127.0.0.1:8888
Doesn't allow it to be exposed to my network
Changing the config file to be 0.0.0.0:8888 and 0.0.0.0 port 8888 allows me to get to the User Manager through the /uc/admin page, but going to ipaddress:8888 in my web browser, where Outline should appear, shows a blank dark-themed screen
Is there another way to expose this application to the network?
Thank you!
The text was updated successfully, but these errors were encountered: