version: "3.9" services: app: image: monica:5.0-apache depends_on: - db ports: - 9980:80 environment: - APP_ENV=local - APP_KEY=qHOBIml3zoCUNPbNfg9GaxXw7+6vh4MA - APP_URL=http://casa.gardiol.org/monicahq - APP_TRUSTED_PROXIES=* - DB_HOST=db - DB_DATABASE=monica - DB_USERNAME=monica - DB_PASSWORD=monica_secret - LOG_CHANNEL=stderr - CACHE_DRIVER=database - SESSION_DRIVER=database - QUEUE_DRIVER=sync volumes: - /deposito/monicahq/storage:/var/www/html/storage networks: - monicahq-net db: image: mariadb:latest environment: - MYSQL_RANDOM_ROOT_PASSWORD=true - MYSQL_DATABASE=monica - MYSQL_USER=monica - MYSQL_PASSWORD=monica_secret volumes: - /deposito/monicahq/mysql:/var/lib/mysql networks: - monicahq-net networks: monicahq-net: {}