title: How to access wordpress-docker site on another computer in network
body: <p>I created WordPress website and configure it within the Docker. The site displays all it's contains locally correctly. Now I want to access that website from the another machine within same network but it did not display all the contents correctly. it displays only the text. no images and the applied theme is not displays. I think problem is <code>WORDPRESS_DB_HOST: db:3306</code> but how to change that. I access my site locally at <code>http://localhost:8000/</code></p>
  
  <pre><code>version: '2'
  services:
    wordpress:
      depends_on:
        - db
      image: wordpress:latest
      restart: always
      environment:
        WORDPRESS_DB_HOST: db:3306
        WORDPRESS_DB_USER: wordpress
        WORDPRESS_DB_PASSWORD: wordpress
        WORDPRESS_DB_NAME: wordpress
      ports:
        - 8000:80
        - 4443:443
      networks:
        - back
    db:
      image: mysql:5.7
      restart: always
      volumes:
         - db_data:/var/lib/mysql
      environment:
        MYSQL_ROOT_PASSWORD: somewordpress
        MYSQL_DATABASE: wordpress
        MYSQL_USER: wordpress
        MYSQL_PASSWORD: wordpress
      networks:
        - back
    phpmyadmin:
      depends_on:
        - db
      image: phpmyadmin/phpmyadmin
      restart: always
      ports:
        - 8001:80
      environment:
        PMA_HOST: db
        MYSQL_ROOT_PASSWORD: somewordpress
      networks:
        - back
  networks:
    back:
  volumes:
    db_data:
  </code></pre>