diff --git a/compose.yml b/compose.yml index b35bc3c0..20f9c285 100755 --- a/compose.yml +++ b/compose.yml @@ -10,7 +10,7 @@ services: TZ: Asia/Tokyo MARIADB_USERNAME: root MARIADB_PASSWORD: password - MARIADB_HOSTNAME: mysql + MARIADB_HOSTNAME: db MARIADB_DATABASE: knoQ ORIGIN: http://localhost:6006 SESSION_KEY: ${SESSION_KEY:-random32wordsXXXXXXXXXXXXXXXXXXX} @@ -28,7 +28,7 @@ services: ports: - "${APP_PORT:-3000}:3000" depends_on: - mysql: + db: condition: service_healthy develop: watch: @@ -58,5 +58,5 @@ services: ports: - "8000:8080" depends_on: - mysql: + db: condition: service_healthy