Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit bc8f268

Browse files
authored
Merge pull request #62 merge from branch 28 - 1
2 parents 2e8438f + 03a3da5 commit bc8f268

File tree

3 files changed

+9
-802
lines changed

3 files changed

+9
-802
lines changed

compose.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ services:
44
image: mysql:latest
55
container_name: db-mysql
66
ports:
7-
- "3306:3306"
7+
- "3306"
88
environment:
99
- MYSQL_ROOT_PASSWORD=password
1010
- MYSQL_DATABASE=stego
1111
- MYSQL_USER=user
1212
- MYSQL_PASSWORD=password
13+
healthcheck:
14+
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p${MYSQL_ROOT_PASSWORD}" ]
15+
interval: 10s
16+
timeout: 5s
17+
retries: 5
18+
start_period: 30s
1319
volumes:
1420
- mysql_data:/var/lib/mysql
1521
networks:
@@ -46,7 +52,8 @@ services:
4652
networks:
4753
- stego-network
4854
depends_on:
49-
- db-mysql
55+
db-mysql:
56+
condition: service_healthy
5057

5158
networks:
5259
stego-network:
614 KB
Loading

0 commit comments

Comments
 (0)