added mysql to docker-compose.yml, updated submodules

This commit is contained in:
R40fendt
2026-01-29 20:42:36 +01:00
parent 58af241972
commit 4422d42b99
3 changed files with 19 additions and 2 deletions

Submodule backend updated: b9b64f3572...1948ce58d3

View File

@@ -8,6 +8,8 @@ services:
- /app/node_modules - /app/node_modules
ports: ports:
- "3000:3000" - "3000:3000"
depends_on:
- database
frontend: frontend:
build: build:
@@ -21,3 +23,18 @@ services:
depends_on: depends_on:
- backend - 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: