version: '2' services: mariadb: image: docker.io/bitnami/mariadb:10.6 environment: # ALLOW_EMPTY_PASSWORD is recommended only for development. - ALLOW_EMPTY_PASSWORD=yes - MARIADB_USER=alumne - MARIADB_DATABASE=paraules_db myapp: image: docker.io/bitnami/symfony:6.1 ports: - '8000:8000' environment: # ALLOW_EMPTY_PASSWORD is recommended only for development. - ALLOW_EMPTY_PASSWORD=yes - SYMFONY_DATABASE_HOST=mariadb - SYMFONY_DATABASE_PORT_NUMBER=3306 - SYMFONY_DATABASE_USER=alumne - SYMFONY_DATABASE_NAME=paraules_db volumes: - './paraules:/app' depends_on: - mariadb