Posts tagged with :docker:
I bought a new Raspberry Pi 5 because my old one was not fast enough for the future docker containers. So I printed a casing and switched the pis. It didn't work as planned, since I forgot to give the new pi a fixed ip adress. Had to figure solutions out. Also installed Rpi Monitor.Didn't know I had to post this into scrapbook too, please be nice.
I tried different functions out. My main goal was/is to make my portainer, pihole, heimdall and other container websites easier accessible. instead of typing "192.168.1.111:9443" I want to have a domain and subdomain like "pihole.homeserver.local", so that I don't need ports anymore. But this didn't work, even now I don't know exactly how to.Didn't know I had to post this into scrapbook too, please be nice.
unfortunately I forgot to make a screenshot of it running. please note the readme file in this folderDidn't know I had to post this into scrapbook too, please be nice.
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
[groups] [groups.survival] fromHostname = "<http://survival.elfisland.net|survival.elfisland.net>" serverName = "survival" hubServer = "hub" # Recommend using NanoLimbo maxInstance = 3 playerAmountToCreateInstance = 25 # Restart every few minutes (->execute restart task and start reminder) autoRestartInterval = 1440 # Reminder of how many seconds until kicking (not included in autoRestartInterval) transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] # After kicking the player, wait a few minutes before closing the server (not included in autoRestartInterval) postShutdownWait = 3 [groups.island] fromHostname = "<http://island.elfisland.net|island.elfisland.net>" serverName = "island" hubServer = "hub" maxInstance = 3 playerAmountToCreateInstance = 50 autoRestartInterval = 1440 transferWarningIntervals = [1800, 900, 600, 300, 240, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1] postShutdownWait = 3 [templates] [templates.survival] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Survival Node" description = "Multi-Paper Worker" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 15 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar" [templates.island] serverOnlineDelay = 5 nameTemplate = "[StreamlineNet] Island Node" description = "Paper" dockerImage = "<http://ghcr.io/pterodactyl/yolks:java_17|ghcr.io/pterodactyl/yolks:java_17>" locationId = 1 nestId = 1 eggId = 16 defaultOwnerId = 1 cpuAmount = 200 memoryAmount = 2048 diskAmount = 5120 skipInitScript = false [templates.survival.environmentValues] SERVER_JARFILE = "server.jar"With StreamLineNet, the development team can focus more on creating new gameplay features instead of constantly worrying about performance issues. (Note: StreamLineNet is still in development and currently has some bugs. There's even a memory leak issue under certain circumstances, but I'm working hard to fix it.) GitHub repo: github.com/Xiaobonor/Streamline
serde
!
I've get a VEEERY slow build system using a Dockerfile
and docker build
, but this is currently suboptimal because docker build
1) doesn't log very well 2) requires a full rebuild even on little state change because 3) the dockerfile can't reuse state from the last build (that would defeat the purpose of the repeatability of docker builds!)
There is a very old project I'm taking inspiration from, github.com/therustmonk/cargo-docker/blob/master/src/main.rs
I'm building it here: github.com/ActuallyHappening/YMap/tree/master/crates/cargo-docker-build/clone-docker-image <image>
◦ Example: /clone-docker-image library/hello-world:latest
• Export an image to the export directory with /clone-docker-image <image>
◦ Example: /export-docker-image library/hello-world:latest
main.go
file. In the last couple of weeks, I rewrote the entire codebase, adding features like Docker support and proper OAuth.
The most significant change, however, was the ability to use it as a headless CMS for static sites (such as Hugo sites) powered by Blogger. Configuration is rather simple and can use most common formats such as JSON, YAML, TOML, etc.
The project works by fetching posts from Blogger on a customizable interval and comparing against the last known posts. Any new posts are converted to Markdown and optionally, pushed to a Git repository. Assuming the Git repository is connected to a service like Vercel or is using a workflow, the changes will be deployed automatically. If overwriting is enabled in the configuration file, posts unpublished in Blogger will be deleted from the Hugo site.
Multiple destinations can be used too. In practice, that means multiple websites, for example, frontmatter mappings can also be customized to either disable frontmatter options or to make it work with other static site generators.
The code is also structured in a manner making it easy to add support for new features.
Any feedback would be appreciated. Feel free to make PRs or issues in the repository
GitHub repository: github.com/slashtechno/cross-blogger
YouTube video (same as attached video): www.youtube.com/watch?v=H3HyQ7h5ogE