How to set up local dev environment with dnsmasq, nginx (use docker compose)

I am running my server on my pc by docker container and proxy by nginx.
Now I want to access my server from another device in the same LAN network with my pc.
I tried to build a dnsmasq container as below but when I used my phone to call to livi.me, nothing happen in dnsmasq container.

Is there anything wrong?

these are my configs:

dnsmasq.conf


log-queries

bogus-priv

expand-hosts

no-resolv

server=8.8.8.8

server=8.8.4.4

domain=livi.me

local=/livi.me/

address=/livi.me/127.0.0.1

address=/livi.me/10.0.100.35

docker compose.yml

  dns:
    container_name: dnsmasq
    restart: always
    image: dockurr/dnsmasq
    volumes:
      - ./dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf
    ports:
      - 53:53/tcp
      - 53:53/udp
    cap_add:
      - NET_ADMIN
    networks:
      - livi-network
  nginx:
    restart: always
    container_name: nginx
    image: nginx
    networks:
      - livi-network
    ports:
      - "80:80"
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf
      - ./nginx/conf.d:/etc/nginx/conf.d
    depends_on:
      - flaskserver