diff --git a/backend b/backend index b9b64f3..1948ce5 160000 --- a/backend +++ b/backend @@ -1 +1 @@ -Subproject commit b9b64f3572fd05f8d1e837797440d82efd84d1a6 +Subproject commit 1948ce58d3b4aa1b8c35abfc0c307a8629e9ee62 diff --git a/docker-compose.yml b/docker-compose.yml index 90eca81..78c9aae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,8 @@ services: - /app/node_modules ports: - "3000:3000" + depends_on: + - database frontend: build: @@ -21,3 +23,18 @@ services: depends_on: - backend + database: + image: mysql:8 + restart: always + environment: + MYSQL_ROOT_PASSWORD: root + MYSQL_DATABASE: ritzenbergen + MYSQL_USER: app + MYSQL_PASSWORD: pwd + ports: + - "3306:3306" + volumes: + - mysql_data:/var/lib/mysql + +volumes: + mysql_data: diff --git a/frontend b/frontend index cbfd572..269bf54 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit cbfd5721414cc0ed6a9bc5e1548c97bed3d225bf +Subproject commit 269bf54c9d46a95855ca46eca991d32f18bbd3ef