How do I set the configuration of the port 8000 on nginx with docker?

I need to get callback url like http://localhost:8000/auth/facebook/callback.

But the port 8000 is closed in myapp.

  • Multiple commands for Mongo Docker image
  • How to set up Cassandra Docker cluster in Marathon with BRIDGE network?
  • docker-compose to Bluemix Failed. “TypeError: string indices must be integers”
  • wurstmeister/kafka modify the KAFKA_ADVERTISED_HOST_NAME in docker-compose.yml
  • Machine created as normal user isn't visible for administrator
  • docker-compose dosen't see node_modules from npm
  • How can I set the configuration to open the port 8000 on nginx with docker?

    docker version : 17.03.1-ce

    docker-compose.yml

    version: '3'
    services:
        web:
            build:
                context: ./
                dockerfile: web.docker
            image: my_web
            volumes:
                - ./www:/var/www
            ports:
                - "80:80"
            networks:
                - webnet
        app:
            build:
                context: ./
                dockerfile: app.docker
            image: my_app
            volumes:
                - ./www:/var/www
            networks:
                - webnet
    networks:
      webnet:
    

  • Mariadb docker container Can't connect to MySQL server on host (111 Connection refused) with Python
  • Atlassian Application Links Inside Docker
  • Dokku on Ubuntu refusing connection
  • Can't install s3fs-fuse(yum fuse-devel version issue) and can't install libfuse(./config missing issue)
  • Docker-Compose: Initialize vs Run
  • TCP Proxy: Hold connections while backend is unavailable
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.