services: server: image: yiisoftware/yii2-php:8.3-fpm-24.3.0-nginx restart: always volumes: - ./:/app:delegated ports: - '80:80' networks: bankitest: environment: PHP_ENABLE_XDEBUG: 1 XDEBUG_CONFIG: 'client_host=host.docker.internal client_port=9003' db: image: lscr.io/linuxserver/mariadb:10.11.8 restart: always volumes: - ./volatile/mariadb:/config networks: bankitest: aliases: - db environment: PUID: 1000 # change me PGID: 1000 # change me MYSQL_DATABASE: bankitest MYSQL_ROOT_PASSWORD: # change me MYSQL_USER: server MYSQL_PASSWORD: # change me networks: bankitest: