#general
1 messages · Page 264 of 1
oh
well then try to start your server now... although i thought you were gonna use pterodactyl
you have to make a server
and made config
did you start wings
are you in the allocation section?
go to nodes -> your node -> allocations
you need to make the allocation beforehand
up to you
🤷♂️
you can always just set a limit and then increase it later if it's getting maxed out
screenshot?
fill out this part with your server's ip and the port you want the server to run on https://i.jordqn.me/3aafa1eee8.png
What ports do i put?
the port you want.. the default minecraft port is 25565
The ports you have open and you want to use ^ the default port is 25565 for Minecraft
Perfect
Its installing the server
So last question
The minecraft directory i have installed through terminal
do i keep that?
Now ptero controls everything right
yup
So i dont need Filezilla or terminal anymore
well you'll probably still want filezilla to access your server files
you can see it in the web panel but sometimes you'll have large files to upload
In your ssh client do ufw allow 25565 (presuming that’s the port you have on pterodactyl)
If i wanna use bungeecord that not what i wanna use or?
Lemme check
oh, well yeah if you wanna make a bungeecord server
Do you know how to setup bungee cord
No clue ive never even used a dedicated server before
for your bungeecord servers make sure they use an allocation with 172.18.0.1 instead of your public server ip
Kevin were u talking about the deamon port?
Okay
so i change that right
under ip
No you’ll need to allow the other servers through the firewall
Otherwise
You won’t be able to connect
only do this for your backend servers
okay i allowed 25565
did you start the server now?
im reinstalling the server just to be safe idk
@vast isle
Server is up
But i get this
Okay i disabled online mode
Set your backend servers to offline mode & go into the spigot.yml and change bungee cord to true
!bungeecheck
Please double check that:
1. BungeeCord config.yml has ip_forward and online_mode set to true
2. All backend servers' spigot.yml has bungeecord set to true
3. All backend servers' server.properties have online-mode set to false
@vast isle i dont have spigot yml
for your lobby server?
i mean i litterally just pressed install hahaha
what server type are you running?
i dont have anythign besides bunge
...
well you need a minecraft server, bungee is just a proxy to connect multiple minecraft servers
Ahhh hahahah
So bunge is just the proxy that connect's paper/spigot etc servers together
yes
yep
So for proxy as ip do i just use my normal ip jordan mentioned something with 172.18.0.1
for your proxy ip you use your actual server's ip
and then for your paper/spigot servers you use 127.18.0.1
Okay thanks, even tho i used 172.0.0.1 when i setup ptero?
do i still use 127.18?
I guess it dosnt matter?
And do i still use mc port even tho i use localhost ip?
172.18.0.1 is like 127.0.0.1 in docker which is what pterodactyl uses
use a different port
Just a random one?
yeah it can basically be anything
no that's already in use by wings
minecraft default is 25565 (think)
so just +- around that range should be ok for backend servers
then your proxy, use the minecraft default
Okay thank you
yeah that's what I do
So i have to open those ports in cmd aswell right
no since they're backend servers you don't want people to be able to directly connect to it
🤔 what did you try to do
create a new server lmao
try refreshing? I don't think I've seen that trying to make a server before
I think i know why
Same
😭
okay i think i know why
It dosnt connect to the other node
you don't add a node for each server lol
you only add a node for each dedicated server/vps you have
just go to the server section to create new servers
Ahhhh
lol
Ahhhhhhh i understand
But
So
the node
I allocate for EVERY Server?
And then
i take abit of that
when i create a server?
wdym max out everything
Like lets say my dedi serv have 32gb ram
Do i just put 32 gb under allocation in the node
So i can spend that on my servers
in this section? https://i.jordqn.me/8e6319e48e.png yeah you'd put how much ram and storage your dedi has
Ye
or how much ram and storage of that server you want to be available to use in pterodactyl anyways
Ptero so funny :P
Confusing af but i think im starting to learn it abit
Gl
definitely happy i got it installed and didnt give up cause that terminal shit was aids af
what is it?
did you use 172.18.0.1 with the right port here https://i.jordqn.me/95fa3e8136.png
no the bungee config
Oka let me check
Okay its restarting
Same
thing
It changes the query port back
after i change it
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
Do you have Look the IP in Server properties is the same?
what port did you use for your lobby server?
well then use that there
Yea restarting
Okay it litteraly says "Joining world"
Maybe i bugged it out cause i tried to join
without any server
You must use the same IP whats in the Server.properties is from the lobby server
I dont think its 172.18.0
1
In my spigot?
Yeah in normal you Bind your backend Server to localhost
172.18.0.1 is basically localhost in pterodactyl
Ah ok Yeah than you Look its Bind in your spigot or not
And do you have active bungee Cord on it?
did you try just relogging?
does your lobby's log say anything
Could not connect to a default or fallback server, please try again later: io.netty.channel.ConnectTimeoutException
Do you have Look what ip is in the file?
Yea i changed it but still the same
And bungeecord=true on spigot?
The actual game servers behind the proxy should use allocations with 127.0.0.1 as the address, so they are only reachable on the node, and not from the public.
you can try it ig but i don't think it'll do anything
It is 172.18.0.1 currently
But i can try to change it
i just changed query port on spigot server to 25575
it was default port
idk if that does anything
nope
can you screenshot the error
Normal yourip:port should work
where do i change ip of server?
You must get a IP from your hoster?
Whith that you should everytime connect only change the port
nono i mean
I wanna change local host from 172.18.0.1 to 172.0.0.1
idk if it does a thing
And the bungeecord need your public ip
Yea it does
not sure if it's a problem with your setup since it seems to be able to reach the server but it times out
maybe try setting server_connect_timeout to a higher value?
In allocations you must use the 127. 0.0.1 and in bungee config this ptero local ip
I notice when i refresh the server its really slow when its pinging compared to other servers
why is that
does your server just have bad internet?
what does the ram and cpu usage look like for both your servers?
https://pterodactyl.io/community/games/minecraft.html Do you read this?
The open-source server management solution.
No idea
I think it was that in older versions but when I first used the panel it was broken so 172.18.0.1 worked in allocations for me
it still works for me now so I'm not sure it's that but you can try it
oh
@tall anchor you did 172 not 127 lol
it's still 172.18.0.1 but it's 127.0.0.1 for localhost
So what are the different between them arent they both local hosts?
in docker yeah so i don't think it'd actually make a difference but 172.0.0.1 isn't a thing
Ah okay well im trying that now
Still the same
Could not connect to a default fallback server
maybe try doing ufw allow 25575 🤷♂️
Yea i did
Its more easy to See all files what You configured😅
Try this? not sure which one it wants when it says localhost port so I'd just try both
Hello
hi aber 😄
Please double check that:
1. BungeeCord config.yml has ip_forward and online_mode set to true
2. All backend servers' spigot.yml has bungeecord set to true
3. All backend servers' server.properties have online-mode set to false
Get this?
Yea
which port did you put in the command
copy paste the command you did
In multicraft we has create 30 bungees in this time 
ufw allow in on pterodactyl0 to 127.0.0.1 port 25566 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
Hahahaha
Jordan what host do u have
try this with 25565 maybe, other than that i'm kinda clueless
also use pterodactyl but i run it in docker and on centos
i use pebble could that be why or
🤷♂️
Is it cause i use paper server or
no i use paper as well
hmm
Paper is better for servers
tried this as well?
Spigot eat more und is buggy😅
ig you could also try disabling ufw temporarily to see if it's a firewall issue
Whats the command
ufw disable
oh, oof
yeah
Tmrw?
Can you create a second acc to your panel? Maybe i can Look and find something😅
K
I just realized in my bed
I think i know why
I need atleast 2 servers + a bungeecord proxy for it to work i think
Idk
I don't think so but 🤷♂️
Imma try when i Wake up i made a ticket aswell @pebble
Guys, is it possible to embed a link in a prefix?
if someone knows how to make my username be in a different color, instead of taking the color of the last word, which is colored, as in this ss
add a different colour code at the end of your prefix
i did, it keeps the same color
sure
How do this?
what plugin you use for prefix?
essentials
Essentials
ess chat than?
Yeah
Can you send example?
owner: 'your link {USERNAME} &f&l>&r&6 {MESSAGE}'
sexy
No. I'll explain with an example. Here I have a prefix, let's say Twitch, I want to click on this prefix to open the link
Why?
Example &4[Owner] &b
Answer me @latent tendon 🔫
Personally I’d say GitLab is better. But if you want people to collaborate you’re better off using GitHub
OMG. That’s the cutest thing ever!
Places That Cats Belong 🐈📦
For more things Pusheen, visit https://Pusheen.com !
wholesome cat vibes
brain what would you say is the best way to implement a leaderboard system that lets you get the top x players, for example for points in a minigame or econ balance in a world
ignoring using a database*
i have what I think is a pretty nifty solution but it's a bit ghetto and i was wondering if there's some standard way to do this
interesting idea but dont see that work
Use a sorted list
what about if a player's score needs to be updated
If you’re talking about how to represent it in code/memory
yeah
Then you extract the entry and renter it
would that be O(n) time
Sorted lists have O(log(n)) find/delete times and same for insertion
Or they can have those times it they are a linked list design
It’s O(n) for both on an array list
ye
In Java you want the tree list
But in any case O(n) is better than any unsorted solution will give you
Tree lists get the first element of your search in O(log(n)) time
Any following element is O(1)
And if it's the head/tail of the list getting it is also O(1)
i see
that's a bit better than what i have, i think
i was doing some wierd shenanigans where i combine a HashMap with a TreeMap
Just use a TreeList
HashMap<UUID, CustomScoreClass> for unsorted access in O(1) time
TreeMap<String, CustomScoreClass> for getting top x vals in xO(logN) time
where string is the score + the UUID
I meant TreeSet btw
ah
HashMaps have O(log(n)) time access btw
eeeh
why
dont they do a hash and convert it into an array index
logN instead of N**
for the treemap
They convert it to a hash and then do a binary search on the backing data structure
Also keep in mind that generating the hash is not free
well it's not free but it's constant
and idk, wherever I look it says hashmaps are O(1) for retrieval
Yes. But remember that O(n!) can run faster than O(1) for sufficently small ns
well if i only deal with small numbers then it's fine either way
setting up a database is slower than using a text file if you only have one entry
And right. Nevermind. Access time is O(1) for a hashmap. Discounting collisions
They must be using a binary tree then for the index
i always thought they were just using an array
Do you know how big an int is?
key -> hash -> modulus -> input into array
Just no
eeh d;
If you know your key size you can just use a binary tree
well if the key size is large enough then arrays would be faster, right
And a waste of memory
well you're right about that
but i figure at that point you wouldnt use either solution and instead opt for a true db
Well you have to remember that there's a difference between storing data and having data in memory
well the db'll cache it for you
Even terribly slow lookups are usually faster than databases
if we're worried about using too much memory we cant just keep using more memory
not sure what I was trying to say there
Me neither
maybe i found a solution for your idea
oh i had more questions about sql stuff
firstly, i'm still unsure as to if I should even have a surrogate key for players
i don't see myself doing any more than one than one search at a time that would need to filter by player uuid
Again
If you have a player table anyways where you store additional data alongside the players, use the internal ID
Else use the UUID
Simple as that
ahh gotcha
Just alone the smaller key size will be worth it
right now i actually don't have a table that's dedicated to players so i guess no internal id for me
If you need it later, then you can always change the schema later
and something else, does the max varchar size i set for a column impact performance / storage at all
assuming the cells stay the same length no matter the max size
so indexing varchars is bad
ah
Ignore me
But yeah. Only use VARCHAR if you actually need to limit the string size or if you want to index the column
what if i don't need to limit the string size
And what I also meant is that you really shouldn't use a WHERE clause with a VARCHAR column unless absolutely necessary
i get today this someone know this error?
Then use TEXT (or SMALLTEXT, TINYTEXT, MEDIUMTEXT, etc)
oo
fair enough
also i was actually planning on doing a lot of where varchar = x... XD
currently i have tables where i have a column for something like permission-name and another for permission-value
That's a valid use case
noice
wait if i'm converting my varchars to texts
is going where text = x still fine
for the permission name, permission value
darn, so should I keep those as varchars?
You need to create a fullindex on text columns
Which is terrible
As mentioned, VARCHAR where you create an index, TEXT where you don't
well i wasn't planning on indexing the text when i go where text = x
And you should index everything that you use in a where condition btw
Why not?
i'd first do where uuid = player
Ok. So?
;o
Secondary lookups still benefit from an index
No?
alright
Primary implies unique, correct
But you have index and unique as keywords/index types
i see
if I index everything i use in my WHERE though, that'd bring me up to 2 of 3 columns and 3 of 4 columns being indexed in some of my tables
i see it mentioned often that too many indexes is bad, but would that apply here
Well it depends
An index never has a negative performance impact on selects
Only ever on inserts and updates
But if you're mostly selecting that's fine
Now the other issue with many indexes is storage space
Indexes need a fair amount of storage
Sometimes a single index can use more than the entire data of the table
oof
i think for my usecase i'd be okay with a slightly slower search time for significantly lower storage use
So my personal approach is to just use indexes where I can
Because who the fuck cares about an extra 1-2MBs
And if it's really important to you
Like if you really need to squeeze out that extra 1-2ms on every query of your 10 million entry table, the benchmark it
do you know how or if the type / uniqueness of data affect how much space an index takes up
like if i have 6 or however many enums that i save to a million rows
Hell even 500MB more don’t matter in regards of disk space
Doesn’t matter too much
But if you’re guaranteed to only use a handful of unique values, use an enum instead
does that come standard in SQL?
Yes they support it
since that's what luckperms is on and all my other stuff, and it's just less hassle to only have one server
And btw don’t store UUIDs as text. Store them as binary
oop actually that brings me to something that you might find irritating
for my uuid column for permissions, i have my generic player uuids
and i have 'default'
for the default perms for that server
but thinking about it, maybe i should make a separate table for that... xd
I was sleeping
Hi, how i can disable saving default players?
nothing
show their /lp user <user> info ingame
@normal surge
Oops
Pressed enter too quickly
Anyways, yes it is a lot better to have a separate table for defaults
Or if you want to throw it in the same table, just use a fixed UUID
Or even better don't store config in a database
How dare you insult GitLab and go to sleep?!
Default values
Yes
I used to use GL, because at the time iirc private repos weren't free on gh
Where else?
Ewww. Closed source
private projects
i think in my case i'll have to keep the permission defaults in the db
Why?
just because they're not truly defaults
they're configurable by the player per-world
so i could have like 10k different default settings for 10k worlds
and they could be changed at any time
a) that's a lot of worlds.
b) don't see the issue with that
well what's the alternative to having them in a db for me
so we have someone here with denizen knowledge? or guys with fat brain? to explain me some from denizen XD
I mean I don't see the need for them to be in a table in the first place
Enlighten me on why you'd need that
well just like how a player can alter another player's permissions regarding the first player's world
the owner can alter the default permissions for players who just join the world for the first time
so for all intents the default is just another player
Ok, And why does that need to be in the database?
for the same reason that regular players need to be in the database, i guess
No that's for persitance
not quite synced but
i'm not sure how to explain it well
basically a player can join the network
and click an icon to start up a server
a la minehut or aternos.gg
the default permissions are permissions for the players who join that new server for the first time
Ok.
Sure
But what about that needs a database for the data
That's the part I don't understand
ah well i guess the one part that is 'synced' is that the player can change permissions through a gui they can acces from any server on the nework
so like if they need to ban or unban a player they dont have to join the server to do it
same for any other permission
actually never mind that last point i dont actually need a db for that
But you do you
when i think of a usecase for a database i think of lots of data that I want to be accessed efficiently
i'd like to have the potential to handle a lot of data, and i don't want to bog myself down, so i figure that's enough reason to go for one
you want default player create ingame a server? O.o
yeah, i already have that part working to an extent
it's just very minimal
no permissions or customization until i actually make a place to store that
but what is with the storage?
well i want to store information about the player's world
Wait wait
i want to store which players are allowed to visit it, what permissions they have, that sort of thing
so player get a world or full server?
a full server
So you have per player default values?
i have one set of per-world default values that apply to any new players who join
then i add a new row for any permission i change from that default for a player
that sounds hard
so if my server had 10 player worlds total, i'd have 10 sets of default permissions, one for each world
What a roundabout way to explain things
what is when 100 player everyone claim a full server?
In any case yes that warrants a table/database
yeah sorry about the bad explanation
well ideally i'd have a hundred player worlds on a hundred servers then
its sound hard and crazy and a touch from weird haha
but of course i'd run out of room on my hardware at some point, after which i'd like to be able to start using aws for any overflow
though i have not done anything towards that end yet

actually that's an interesting thing i didnt think about yet
brain, do you know if pterodactyl supports using aws
its hard to understand this XD
In principle
Pretty sure you can add new nodes through the API
I need suggestions of what kind of plugins to make and for which platform (simple ones ;d)
oh but you have to add vms manually?
Yes
huh
updating factions3 plugin for me 
Pterodactyl doesn't have any tools for adding nodes by itself
i ask because there's this cool aws feature coming out soon this year that lets you replicate their cloud setup locally
factionsuuid
we can not convert the factions :/
and it'd make the job of switching between on-site and cloud resources much much easier
and the tab complete has not work in factionuuid 😦
Have you tried their support?
You really must have lot's of money Ivan8or
i have made -$1500 over the past year
its simple create plugin that works with denizen so like open webbrowser link without everytime click yes i know the dangerous of this link 😄
Then why on earth do you even think about using AWS?
not possible
i was with the developer one night we tried to convert this factions but nothing worked
atleast afaik
oy the AWS s3 is actually really well priced
especially for archival which is the majority of what my storage goes towards
Good morning
or betters says he convertert my factions and i say its not work 😛

the instances are definitely pricey but again above all I want to rack up some experience working in the environment
Alright then
I have one question
If you're already set on what you're gonna use, why do you even bother asking us about our opinions?
well i'm not set
i do hold my opinions close to me, but I also want to hear what the counters are to anything I want to do
Well some people collect stamps, other spend ridiculous amounts of money on model trains as a hobby and some apparently like throwing money at companies that are as close to slave labor users as current laws allow.
Each to their own I guess
you can't tell me you don't use amazon for online shopping o.o
I don't
That is correct
Never have either
what sites do you use then?
I prefer local businesses
Sometimes, depends what I need
Just alone for better quality products and lower chances of tampered with stock
And also I'm not a huge fan of companies that commit tax evasion in the billions
i think that's the majority of large companies
Guess which ones I try to avoid as much as possible
But Amazon is by far the worst offender
i'd assume you avoid apple too
For the most part
but at that point i'd say pretty much all large tech companies have some ethical dilemmas to account for
Sure
But there's still a difference between invasion of privacy for profit (facebook), invasion of privacy for unknown reasons (google) and essentially slave labor (Amazon)
oh i was thinking more along the lines of electronics producers
i can't imagine TSMC gives it's workers many benefits
Sure. But keep in mind that Amazon distributes those as well
tsmc?
yeah
What's that?
You'll be shocked to find out that especially chip manufactures have drastically improved their work conditions
Just alone because you can't produce high quality chips in dirty factories with unskilled workers
Most of them have it significantly better than your average Amazon warehouse slave
well that is likely true
wait are you against me using aws specifically
or any cloud provider
So they'll never see a penny from me for overpriced and overhyped fancy VMs
I'm against most fancy VM providers actually
Wouldn't say off limits, but definately among the last choices
wait when you say fancy vms
does that mean that i can get my hand on some not - so - fancy vms
from someone
well either way i really don't plan on making use of the cloud any time soon, at least for hosting
but in general i don't see a good alternative to the benefits those providers offer to small projects
A single large hypersior is typically all you need for small projects
If anything
You should always try to keep your virtualization stack low
I gurantuee you that 9/10 times you don't need a cloud provider
because 9/10 startups fail 😉
well if you do set up a hypervisor then you'd run into stuff like your isp telling you to knock off running a business on a commercial subscription
I'm not saying to host it at home
Rent servers from a server hoster
Cheaper anyways
ahh
well i guess at that point your main concern is how you handle fluctuations in traffic/usage
with the cloud providers you're not commited to 1 or 3 or 6 months of rent on a machine you may not even use half of for the first long while
and at the same time you don't need to stay on guard to rent more hardware in case you suddenly find a need for it
it's definitely cheaper to rent from a smaller host directly if you can accurately predict how much you'll use and when
Even if you need to keep a buffer
Now the funny thing about autoscaling is that I can absolutely ruin you
If I know this I can manage to get a relatively low budget attack that will easily cost 100x of what I'm paying
Especially if I do know what cloud provider you use
Like some charge for adding new VMs
So I can generate a peak forcing your system to rent new VMs. Then let it die down and repeat
Trust me when I say this
@placid lantern im not sure from where i have XD i dont see it in the plugin list but i have at on the server lol
And you use paper?
Every system will buckle eventually
i can't imagine there are no protections available to prevent overspending
Probs where its coming from
yeah build 416
In that case I will be able to just bring your system to it's knees
And maxed you out
well what's the difference between cloud and renting then
Exactly
As long as you're not filling two decently sized root servers or have massive flactuations you don't need any of that dynamic crap
It's so ridicously overhyped
is docker overhyped too then D;
Everyone talking about the "what ifs" but never about the normal case
https://www.spigotmc.org/resources/anti-xray.68465/ i think it was this
Absolutely
It has its use cases but it's 100% overused
It's funny to see people wondering how I manage to pull my stuff off with relatively little hardware when my secret is that I don't docker everything
Ok thanks, will have a looked at it!
What’s the alternative for docker then?
Installing the software on your system?
i was under the impression that docker used less overhead than it's alternatives
you but you need skript and skquery plugin because that anti xray is a script not a plugin
Fair?
Sure
while still offering some relatively necessary isolation
But still more than just installing the software
Proxy have my own ip and backend servers have local host ip right?
How is the normal user isolation not enough?
That's the best case
proxy your ip, allacoate or whats call was the 127.0.0.1 and bind was this ptero local ip?
well for example me trying to run my spectacular minecraft world thingie bare metal instead of in docker
172.18.0.1
if some doofus decides to spawn ten thousand armor stands that'll take a hefty chunk of my cpu away from everyone else who wants it
so only you must to the guide step by step https://pterodactyl.io/community/games/minecraft.html 😛
The open-source server management solution.
Containerizing services that need fairly much resources anyways and that are essentially the same thing over and over is an excellent use case for docker
Just alone because you can resource limit them in real time
But running your one off services in docker is just stupid
hello someone knows how spark works?
wouldn't it be better to run a one-off in a docker container if the host is using docker already, since that way docker is aware of it and can manage itself accordingly
No
D;
!bungecoord
Sorry! I do not understand the command !bungecoord
Type !help for a list of commands.
The one thing that really confuses me about you is that on the one hand you seem to have some decent expertise. Like just alone the technologies you talk about. But then on the other hand all your knowledge seems to be so incredibly shallow. Like you just watched some enthusiast's video on why AWS is the best thing since transistors and that's it
If i want to add a chat plugin to my servers, do i need to put it in each plugin folder?
Can someone type the bungecord setup thing
!bungeecheck
Please double check that:
1. BungeeCord config.yml has ip_forward and online_mode set to true
2. All backend servers' spigot.yml has bungeecord set to true
3. All backend servers' server.properties have online-mode set to false
TY
i pride myself on the breadth and lack of depth of my knowledge
I've noticed
ty
wait isn't the main point to using docker the portability though
That's one of the advantages
like being able to sling your setup over your shoulder and head for greener pastures
i think that's pretty notable
Sure. But taking the time and properly setting your software up and configuring it is typically more than worth it
think its better but you not must. Same chat plugin looks better for the prefixes 😄
Yea i just found ChatControl
Like especially with docker compose I've noticed a trend that often the same software gets installed several times. nginx is a common offender
oh like if you want to run several instances?
But if i want it for my HUB and Survival/UHC
Do i need to put the jar in each one
So you can easily end up with dozens of poorly configured nginx instances that essentially do nothing but make everything slower than it needs to be and taking away resources
Then one docker compose and it's all gone
ah well lucky for me i don't touch docker compose
Or updating the thing
i agree that that's silly
Poof gone
well no upgrading it is pretty easy all things considered
If you're touching files inside the container that are not on volumes, you're doing things wrong
you just change your dockerfile to install the newer version and keep the setup script beyond that the same
I mean sure. But you can't do that with prexisting containers
containers or images?
you can certainly do it with an image as long as you have the makefile and all the stuff for them
just rebuild it with the updated version
Then you haven't really been using docker compose
But all good
The issue being all the benefit from set and forget is gone with that approach
In fact you made it significantly worse
what do you mean o.o
As you mentioned
The benefit of using docker is that you get the stuff preconfigured
Now if you start shipping applications with tools like docker compose then installing one application can mean spawing serveral containers
yes
Sweet, thanks
If you wanted to customize these you run into the issue that you essentially need to rebuild them and need to modify the standard setup
Meaning you need to configure a significant amount more than you would just installing the damn thing
And in addition you need to keep your customized images up to date
@tight chasm Is there a way around having to modify 3 different configs?
Which at the very least is a docker build every time
and i wouldnt need to add the jar into the bungee proxy right?
so you're saying it takes less effort to install something directly onto the host than to set it up within a docker container
only bungee plugins get install it
and maintain it*
For the most part, yes
no chat plugin or something what is maked for spigot 😄
Ok, that makes sense
well i do agree, i mean including docker is an extra step that adds some extra hassle to the process
and yeah you can work one time on 3 different configs
but i don't think it's as bad as you make it out to be
so i think you have 3 different configs but must change every same?
where you'd run a single command to update nginx on the host
Just fix one and copy paste it? over to the others?
you'd just change the version number of nginx in the dockerfile and run a single command to rebuild the image
then a second command to update all the running containers
you kann replacement on all open files
so maybe you have in 3 diffent files the word "Hello" you can replace it with one click all
That's what you need to do to update a container to use the newest version. Correct
But that's not what I'm talking about
I'm talking about an image that ships a program. However that program is configured badly
So all you can do is build your own container on top that fixes it
https://notepad-plus-plus.org/downloads/ with that its works ^^
Which means now you need to keep up with upstream updates and you need to change the docker compose file
Doing that throws all the benefits of docker right out the window
my server keeps crashing everyday and I dont get why
well given all that it can definitely grow into a big mess of constantly redesigning your container to match the parent image
not cuz of luck perms but its getting annoying
but that's only a problem if the parent image is configured badly in the first place
And again. Customizing single images isn't even my main point
My main point is that when using larger applications that install their dependencies using docker compose it becomes a nightmare
send me log files
For example my favorite was mail cow
what's that 😮
Set up 3 different containers with 3 different images all using nginx
Among other stuff
i mean at that point i dont think you can blame docker
2 were massively oversized and one was undersized
Leading to crazy resource usage and terrible performance
I never blamed docker in the first place?
All I'm saying is that it's a terrible choice for one off stuff
Especially if you know how to configure it
but wait
if you know how to configure a certain application well
what's stopping you from setting it up within a docker container yourself and avoiding the issues of having incompetent image authors
Because that's significantly more work than just installing the software
And it also uses more resources that way
For no real benefit
well i think the benefits are once again portability + expansion-ability(? expansionability? expansive-ness?)
you dont have to waste any significant time down the road if you ever need to reinstall your app on a different machine
and if you set your image(s) up correctly you can duplicate them with ease and avoid having to manually sift through configs changing port numbers and all that
If that's a concern use server orchistration tools like Ansible
Configuring software is not hard
I'm aware there are edge cases where you can't just install the software directly
And using docker in those cases is a justified use case
But using docker for everything is the wrong choice
And I've ported plenty of applications across servers
Big and small
With and without docker
Typically I find myself having an easier time when doing it without docker
would you say docker supports a wider array of use cases compared to setting things up to work with ansible or otherwise
Yes. For sure
Docker covers a lot of edge cases you can't cover with conventional setups
Like two different versions of the same software
i think that's a huge reason why people hype it so much
it's just a safer recommendation
But most of those setups mean you're doing something wrong in the big picture
No. They hype it because it's the lazy way
And then they wonder why the app performs terribly and why they need more hardware
well a lot of companies also use VMs for their setups
is that also bad compared to setting everything up on a single host
Yes
But again there are use cases where it's justified
I'd say 90% of those setups could be run better without VMs
But that needs a sysadmin that knows their shit and can put their foot down when upper management saw another of these hype videos about how great AWS is for your business
xd
Like no shit I've actually done that
did they try to sway you into using it?
My boss was like "we need this application in the cloud!"
And I showed them how much that would cost and then showed them how much it would cost running it locally
Turns out 3 months of cloud were more expensive than getting new hardware
And we had spare hardware
Also it ran better than the demo in the cloud from the vendor
Like meaning you can ask them to make you a demo that's essentially exactly what you would run
AWS and all
They have like a test instance which they reset every time for new demos
Fairly small instance at that as it's just a demo
So it runs better than the real deal in the end
And I outperformed their demo
Noticably
That was fun
But yeah new managament that then decided to throw that thing in the cloud
Ran slower, costs more, internet outages now take that service down
I left over that
D;
Their money, not mine
i think that one thing i can definitely agree is over hyped is using the cloud if you know exactly how much hardware you need
It's overhyped if you don't know how much you need either
There are plenty of intermediate solutions
llama
i still feel like one of the best usecases for the cloud is as an overflow
sure you can set up as much of a buffer as you want
and it'll probably hold you up 99% of the time
Considering that 1% will cost you more than you'll make back it's nothing I'd worry about
And all the extra time you'll need to put in to have it working
And depending on what cloud provider you use you also pay for standby. Just saying
really?
Yes
i thought it was pay for what you use across the board 😦
Keep in mind these are made for large companies
AWS/Google Cloud/Azure, etc
No. They just have good marketing
Anything under 100 servers doesn't make sense to use a could provider for
Barring the case for geo redundancy
And even then there are better solutions
i guess that does make sense in a way, thinking about it
As mentioned cloud providers sell you fancy VMs. And 9/10 times you don't even need VMs in the first place
since for large companies a big attraction is not having to pay to maintain your hardware
it's all coming together
Well the major benefit is not having to worry about outages and scalability
With billion of hits per day scalability becomes a big issue
that's very true too yeah
And their profits typically scale with the traffic they get so that's not an issue
well the same would go for small businesses, right?
at least, i'd hope any business would have their profits scale with traffic
seems kind of silly to scale otherwise
Sure
But at those tiny scales it's still cheaper to not use it
As you're really paying for the fancy part
And all you need is the "M" part of "fancy VM"
VMail Cow
?
Elaborate
i tried this morning to download something from my repo
and it didnt even wanted to download it
snow


