Skip to content

Commit e89cb4f

Browse files
committed
fix docker
1 parent 156c751 commit e89cb4f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/docker-compose.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ services:
44
image: deming
55
depends_on:
66
mysql:
7-
condition: service_healthy
7+
condition: service_healthy
88
build:
99
context: .
10-
dockerfile: Dockerfile_web
10+
dockerfile: Dockerfile
1111
environment:
1212
DB_HOST: mysql
1313
DB_DATABASE: 'deming'
@@ -43,12 +43,12 @@ services:
4343
MYSQL_PASSWORD: 'demPasssword-123'
4444
MYSQL_ROOT_PASSWORD: 'root'
4545
expose:
46-
- 3306
46+
- 3306
4747
healthcheck:
48-
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p$${MYSQL_ROOT_PASSWORD}"]
49-
interval: 10s
50-
timeout: 5s
51-
retries: 3
48+
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p$${MYSQL_ROOT_PASSWORD}"]
49+
interval: 10s
50+
timeout: 5s
51+
retries: 3
5252
### PLEASE ENABLE FOR PERSISTENT DATABASE DATA
5353
volumes:
5454
- dbdata:/var/lib/mysql

0 commit comments

Comments
 (0)