Created
February 11, 2020 02:30
-
-
Save ST2-EV/0dc44c7ab12fccf7fc5e522cacd63000 to your computer and use it in GitHub Desktop.
docker file example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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