Comments (4)
After upgrading to docker 24.0.3 and using "docker compose" instead of "docker-compose", this now works.
Used instructions here:
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
The obsolete "docker-compose" could not wait until the database container was ready before trying to start zoneminder.
from zoneminder-base.
It should start with or without the wait. The zoneminder container automatically waits for the database container. You just don't want the database shutting down before zoneminder.
from zoneminder-base.
@alexyao2015 First, thank you for creating and maintaining this repository. It is very useful.
From: https://docs.docker.com/compose/startup-order/
"On startup, Compose does not wait until a container is โreadyโ, only until itโs running."
With the newer "docker compose" the healthcheck
can be used to make sure the database is ready before starting ZoneMinder.
It's worthwhile to update the instructions to use Compose v2.
from zoneminder-base.
You don't need to make sure the db is ready. The container checks for that automatically.
from zoneminder-base.
Related Issues (20)
- Hung processes HOT 4
- Enabling HTTPS HOT 2
- Mariadb armhf support HOT 14
- Help run HOT 6
- Got an error reading communication packets HOT 2
- version 1.36.12 not starting in aarch64
- s6-overlay-suexec: fatal: can only run as pid 1 HOT 7
- ERR_CONNECTION_REFUSED after fresh install HOT 8
- ERR_CONNECTION_REFUSED after fresh install HOT 3
- Concurrent stream limit
- cannot pull library/mariadb HOT 1
- ZM never receives readiness notification from mariadb HOT 2
- Zoneminder container starts with state STOPPED HOT 16
- How to use multi-server? HOT 1
- Basic Install - ProxMox LXC Debian 11 Container
- Request to Add libcurl4 Package for cURL Support in Zoneminder Docker HOT 7
- nightly environments are not up to date with master HOT 8
- Bullseye (11) -> Bookworm (12) HOT 2
- Customizing MariaDB port 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 zoneminder-base.