Skip to content

Instantly share code, notes, and snippets.

@ST2-EV
Created February 11, 2020 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ST2-EV/0dc44c7ab12fccf7fc5e522cacd63000 to your computer and use it in GitHub Desktop.
Save ST2-EV/0dc44c7ab12fccf7fc5e522cacd63000 to your computer and use it in GitHub Desktop.
docker file example
version: "3"
services:
laravelappfolder:
build: ./laravelappfolder
container_name: laravelappfolder
restart: always
expose:
- 9000 #exposes this port to the other containers
nginxappfolder:
build: ./nginxappfolder
container_name: nginxappfolder
restart: always
ports:
- "80:80" # exposes docker port to host ports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment