Created
February 23, 2019 07:00
-
-
Save m24te28/3935dd8aecf6a093d6f861b2dd9a2c33 to your computer and use it in GitHub Desktop.
compose nginx and php via http
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: | |
nginx: | |
build: ./nginx | |
ports: | |
- 80:80 | |
depends_on: | |
- php | |
volumes: | |
# - socket:/var/run/php | |
- ./html:/var/www/html | |
links: | |
- php | |
php: | |
build: ./php | |
ports: | |
- 9000:9000 | |
volumes: | |
# - socket:/var/run/php | |
- ./html:/var/www/html | |
# volumes: | |
# socket: | |
# external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment