Trying to push to production using docker, fails on so many places, dockerfiles need a refresh.
The reason why I needed to build the dockerfile myself is that the ghcr.io doesnt have the images.
RexSystem1 voteoriginally by @Mar0xy on GitHubCollapsed as outdated by Rex: Speculation from before official self-hosting support.
Pretty sure this is to be expected considering the refactor is still WIP and there are also no complete self-hosting docs.
The docker images will probably come into existence once the refactor is actually stable and complete,
the same applies to the dockerfiles being all out of place currently or not having the correct paths
RexSystem1 voteoriginally by @electron271 on GitHub
i managed to get it working by editing some of the files, heres the patch
id still recommend waiting for the official self hosting info though for anything more than experimentation, this patch was also pretty rushed
patch
start with docker compose up -d --build
you will need a config/config.json file, heres mine with some parts redacted (some things may be broken, im still trying to work on fixing everything)
Amazing work, im trying it out rn! Keep me posted on updates with this! @electron271
glad to hear! right now im working on trying to get the media proxy to work with nginx (duplicate content-length headers are messing with it), ill send another patch/more info once thats done
Got everything to work normally, but voicechat, did you manage to make that work?
I got voice to work. You'll need a separate (sub)domain for the LiveKit container. I'm also using the admin dashboard as it's easier to configure regions and servers
Copy config/livekit.example.yaml to config/livekit.yaml and edit it. Generate an API key and secret and put it in that config as shown in the example file.
Enable the voice integration in config/config.json
Restart Fluxer and start the LiveKit container. Fluxer uses profiles for starting specific features separately: docker compose restart fluxer_server && docker compose --profile voice up -d
Configure your reverse proxy. The LiveKit container is on port 7880. Put it on a subdomain, like livekit.example.com
These next few steps will probably show internal server errors, but refreshing the page or going back to the dashboard shows the changes were successful. In the dashboard, under Platform > Voice Regions (/admin/voice-regions), create a new region
Under the new region you created, click "Manage Servers". Fill out the Add Voice Server form:
Endpoint: wss://livekit.example.com
API key and API secret: the key and secret you generated earlier
Add it, and it hopefully should just work.
Voice seems to be WIP (hmm I wonder why??) but quite functional
RexSystem1 voteoriginally by @FiveKnives on GitHub
Copy config/livekit.example.yaml to config/livekit.yaml and edit it. Generate an API key and secret and put it in that config as shown in the example file.
If you use the livekit docker you also have to adjust the livekit.yaml to only use a smaller port range like in the compose:
rtc:
tcp_port: 7881
# Restrict WebRTC UDP to exactly the published range
port_range_start: 50000
port_range_end: 50100
Thanks all! Managed to spin up a server for my community with sleepless night and a lot of trial and error!
Question, is the selfhosted instance an entire instance of fluxer, with being able to create communites. Or is it one community you can just join and use the same client as other communities?
> Thanks all! Managed to spin up a server for my community with sleepless night and a lot of trial and error!
Question, is the selfhosted instance an entire instance of fluxer, with being able to create communites. Or is it one community you can just join and use the same client as other communities?
Its a completely separated own instance of the whole fluxer
> > Thanks all! Managed to spin up a server for my community with sleepless night and a lot of trial and error!
>
>
> Question, is the selfhosted instance an entire instance of fluxer, with being able to create communites. Or is it one community you can just join and use the same client as other communities?
Its a completely separated own instance of the whole fluxer
Basically what Im asking is, If I download the appimage for linux from the main site, can that connect to a self host, or Do I have to use the web app I host?
> > > Thanks all! Managed to spin up a server for my community with sleepless night and a lot of trial and error!
> >
> >
> > Question, is the selfhosted instance an entire instance of fluxer, with being able to create communites. Or is it one community you can just join and use the same client as other communities?
>
>
> Its a completely separated own instance of the whole fluxer
Basically what Im asking is, If I download the appimage for linux from the main site, can that connect to a self host, or Do I have to use the web app I host?
Currently you have to use the webapp, though they did say that the desktop application will support selfhosted deployments
> > > Thanks all! Managed to spin up a server for my community with sleepless night and a lot of trial and error!
> >
> >
> > Question, is the selfhosted instance an entire instance of fluxer, with being able to create communites. Or is it one community you can just join and use the same client as other communities?
>
>
> Its a completely separated own instance of the whole fluxer
Basically what Im asking is, If I download the appimage for linux from the main site, can that connect to a self host, or Do I have to use the web app I host?
How are you getting around the path issues in the dockerfile (looking at the patches posted in thread, looks like they arent updated), and presuming dockerfile not relocated?
i.e.
[2/7] STEP 5/57: COPY patches/ ./patches/
Error: building at STEP "COPY patches/ ./patches/": checking on sources under "/mnt/d/git/fluxer/fluxer_server": copier: stat: "/patches": no such file or directory
How are you getting around the path issues in the dockerfile (looking at the patches posted in thread, looks like they arent updated), and presuming dockerfile not relocated?
i.e.
[2/7] STEP 5/57: COPY patches/ ./patches/
Error: building at STEP "COPY patches/ ./patches/": checking on sources under "/mnt/d/git/fluxer/fluxer_server": copier: stat: "/patches": no such file or directory
After the patches it just works with docker compose up -d --build
How are you getting around the path issues in the dockerfile (looking at the patches posted in thread, looks like they arent updated), and presuming dockerfile not relocated?
i.e.
[2/7] STEP 5/57: COPY patches/ ./patches/
Error: building at STEP "COPY patches/ ./patches/": checking on sources under "/mnt/d/git/fluxer/fluxer_server": copier: stat: "/patches": no such file or directory
After the patches i move the dockerfile to the root of the repo and build the container with docker build -t fluxer . then do with the container what i want
Also discussion #1037 has additional info and so does issue #327
25 comments
Off-topic comment by @Mar0xy
Comment by @electron271
docker compose up -d --buildyou will need aconfig/config.jsonfile, heres mine with some parts redacted (some things may be broken, im still trying to work on fixing everything)Comment by @Katacc
Comment by @electron271
Comment by @electron271
Comment by @Katacc
Comment by @electron271
Comment by @Katacc
Comment by @electron271
Comment by @Katacc
Comment by @Katacc
Comment by @Katacc
Comment by @electron271
Comment by @000yesnt
config/livekit.example.yamltoconfig/livekit.yamland edit it. Generate an API key and secret and put it in that config as shown in the example file.config/config.json- Restart Fluxer and start the LiveKit container. Fluxer uses profiles for starting specific features separately:
- Configure your reverse proxy. The LiveKit container is on port 7880. Put it on a subdomain, like
- These next few steps will probably show internal server errors, but refreshing the page or going back to the dashboard shows the changes were successful. In the dashboard, under Platform > Voice Regions (
- Under the new region you created, click "Manage Servers". Fill out the Add Voice Server form:
- Endpoint: wss://livekit.example.com
- API key and API secret: the key and secret you generated earlier
Add it, and it hopefully should just work. Voice seems to be WIP (hmm I wonder why??) but quite functionaldocker compose restart fluxer_server && docker compose --profile voice up -dlivekit.example.com/admin/voice-regions), create a new regionComment by @FiveKnives
Comment by @Katacc
Comment by @Shadowalker125
Comment by @Katacc
Comment by @Shadowalker125
Comment by @Katacc
Comment by @000yesnt
Comment by @evoandroidevo
Comment by @aneillans
Comment by @Katacc
Comment by @evoandroidevo
docker build -t fluxer .then do with the container what i want Also discussion #1037 has additional info and so does issue #327