chore: ⚙️ change restart policy to 'unless-stopped'
• Update restart policy for all services to 'unless-stopped' • Ensure services do not restart automatically on failure • Improve control over service management in development environment
This commit is contained in:
parent
c9211692a7
commit
5900da2df9
|
@ -39,7 +39,7 @@ services:
|
|||
# volume (which is what we're creating here) will be initialized with the
|
||||
# existing content of the image at the same location
|
||||
- /app/public/sites
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -52,7 +52,7 @@ services:
|
|||
POSTGRES_DB: d4science
|
||||
POSTGRES_USER: d4science
|
||||
POSTGRES_PASSWORD: "NDyJ4.pixFnuF"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
interval: 1s
|
||||
|
@ -61,7 +61,7 @@ services:
|
|||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8088:8080
|
||||
|
||||
|
@ -77,4 +77,4 @@ services:
|
|||
MYSQL_USER: d4science
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -38,4 +38,4 @@ services:
|
|||
# volume (which is what we're creating here) will be initialized with the
|
||||
# existing content of the image at the same location
|
||||
- /app/public/sites
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in New Issue