Comments (10)
Winner winner chicken dinner. That did the trick, and I'm in. Thank you so much for your help and patience.
from funkwhale-docker-traefik.
Yeah I had a small mistake in the docker-compose file for the funkwhale-frontend.
Would you please ty out replacing the volume line - ./html:/var/www/html
with - ./front/dist:/var/www/html
?
from funkwhale-docker-traefik.
I made the change and redeployed everything from scratch, but I'm still getting the same issue. Interestingly the funkwhale-frontend
logs did pop up a few errors, but it's only when I navigate to music.domain.com:8881
. Otherwise it's the same old Gateway Timeout
.
[IP ADDRESS] - - [22/Aug/2018:09:10:50 +0000] "GET / HTTP/1.1" 301 185 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
[IP ADDRESS] - - [22/Aug/2018:09:11:40 +0000] "\x16\x03\x01\x02\x00\x01\x00\x01\xFC\x03\x038\x87\xC9\xE5\x85\x16D\xCA jz2F\xFD?*@\xBF\xAD\x12dx\xBA\xCCY\x01\xF0\x1EW\xE9\xC0\x91 \xA0\x02tD\x95\xD2\xD0\xEC\x17\xACk\x858\x8B\xAE\x1E\x81\xDB\x068\xD5p\xCA\x15\x91Kx\xFAT\xDA\x85\x9B\x00\x22zz\x13\x01\x13\x02\x13\x03\xC0+\xC0/\xC0,\xC00\xCC\xA9\xCC\xA8\xC0\x13\xC0\x14\x00\x9C\x00\x9D\x00/\x005\x00" 400 173 "-" "-"
[IP ADDRESS] - - [22/Aug/2018:09:11:41 +0000] "\x16\x03\x01\x00\xCD\x01\x00\x00\xC9\x03\x03\x1D\x0F\xED\x0E\xA3\x850\xE0*\xBC\x9Fi\xC0^\xBCk\x95\x82\x97\x14\x8CK\x9F\xB6\xAF\xAD\x8F\xBA\x22\xAE\x92\xDB\x00\x00\x1Czz\xC0+\xC0/\xC0,\xC00\xCC\xA9\xCC\xA8\xC0\x13\xC0\x14\x00\x9C\x00\x9D\x00/\x005\x00" 400 173 "-" "-"
from funkwhale-docker-traefik.
This error log seems really strange.
Is your funkwhale-frontend container in the same network as traefik?
from funkwhale-docker-traefik.
It is not, they're deployed on different networks.
traefik: traefik_default
funkwhale: funkwhale_default
(all funkwhale containers, including funkwhale-frontend)
- Should I move the
funkwhale-frontend
container to thetraefik_default
network? - Should
funkwhale-frontend
also stay connected to thefunkwhale_default
network?
from funkwhale-docker-traefik.
The funkwhale-frontend has to be in the same network as traefik, as well as other containers, which should be reverse proxied with traefik.
And the funkwhale-frontend also has to be in the same network with at least the funkwhale api.
But I have all funkwhale containers in the same network, just in case.
Try adding this code at the end of your docker-compose.yml for funkwhale:
networks:
internal:
traefik_default:
external: true
And then for your funkwhale-frontend:
networks:
- internal
- traefik_default
And for the other funkwhale containers:
networks:
- internal
I didn't test, if this works for default networks created by docker-compose, but it should work.
from funkwhale-docker-traefik.
Still getting the Gateway Timeout
, and no errors in any of the logs, including Traefik.
One question, though. At the end of the frontend
section, what are these options for? I went back though my other configs and 8080
is already in use by my traefik
container for accessing the web dashboard, which might be part of the problem.
ports:
- 8881:80
expose:
- "8080"
from funkwhale-docker-traefik.
Are you sure that there isn't any error message in the log from funkwhale-frontend?
Those 4 lines are not needed. I've removed them a little bit earlier in a commit.
If a port in a network is already used, docker-compose would instantly throw an error upon docker-compose up -d
.
from funkwhale-docker-traefik.
Yeah, no errors, either during compose or in the funkwhale-frontend
log. I've gone ahead and removed that section as well, but still have the Gateway Timeout.
Do I need to consider changing this line in the funkwwhale-frontend
section?
- traefik.docker.network=proxy
from funkwhale-docker-traefik.
Oh, yeah. I totally forgot that.
If you've used the network traefik_default
, then you also have to change proxy
to traefik_default
for traefik.docker.network
.
In that case, it should look like this: - traefik.docker.network=traefik_default
Basically you have to write the name of the network in which traefik operates.
from funkwhale-docker-traefik.
Related Issues (4)
- WSS error on the front HOT 1
- Not an HOT 1
- help with traefik HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funkwhale-docker-traefik.