name: tvcloud services: web: build: dockerfile: ./nginx.Dockerfile networks: - front-tier ports: - "80:80" - "443:443" volumes: - nextcloud:/var/www/html:ro depends_on: - cloud cloud: image: nextcloud:31-fpm env_file: - db.env environment: - MYSQL_HOST=db networks: - front-tier - back-tier volumes: - nextcloud:/var/www/html depends_on: - db db: image: mariadb:11-ubi command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW env_file: - db.env environment: - MARIADB_ROOT_PASSWORD=pswd - MARIADB_AUTO_UPGRADE=1 - MARIADB_DISABLE_UPGRADE_BACKUP=1 networks: - back-tier volumes: - mariadb:/var/lib/mysql networks: front-tier: back-tier: volumes: mariadb: nextcloud: