zix99 / traefik-lazyload Goto Github PK
View Code? Open in Web Editor NEWA small traefik/docker wrapper to load and unload containers on-demand to save resources
A small traefik/docker wrapper to load and unload containers on-demand to save resources
I'm using Lazyload and I want to start/stop 3 different Containers with it.
I have one webserver which has a timeout of 2min, after this time i get following logs in lazyload:
time="2024-02-06T12:48:39Z" level=info msg="Stopped container typo3_v12-tron-58035_project-deployment-testing-env-server-webserver-1 (45e5a1ed)"
time="2024-02-06T12:48:39Z" level=info msg="Stopping dependency 4191-typo3-v12-solr-service..."
time="2024-02-06T12:48:39Z" level=info msg="Stopping typo3_v12-tron-58035_project-deployment-testing-env-server-solr-1 (ee9b9eec)..."
time="2024-02-06T12:48:39Z" level=info msg="Stopping dependency 4191-typo3-v12-db-service..."
time="2024-02-06T12:48:39Z" level=info msg="Stopping typo3_v12-tron-58035_project-deployment-testing-env-server-db-1 (a2b33fa4)..."
but it only stops the webserver and the solr service container.
config:
- "lazyloader.needs=4191-typo3-v12-solr-service,4191-typo3-v12-db-service"
If I change the order it only stops the webserver and the db container.
Could it be a race condition on service.go line 206:
go s.client.ContainerStop(ctx, ct.ID, container.StopOptions{})
Thanks for your help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.