Last active
June 8, 2022 06:47
-
-
Save ShakalakaB/d4c774dc0f5fc71e8908dda29d9b0770 to your computer and use it in GitHub Desktop.
aldora-gist
This file contains hidden or 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: | |
php-fpm: | |
image: php:7.2-fpm-alpine | |
container_name: php-fpm | |
volumes: | |
- .:/var/www/html | |
- ./www.conf:/usr/local/etc/php-fpm.d/www.conf | |
ports: | |
- 9000:9000 | |
nginx: | |
image: nginx | |
container_name: nginx | |
depends_on: | |
- php-fpm | |
ports: | |
- 8888:8888 | |
volumes: | |
- .:/usr/share/nginx/html | |
- ./nginx.conf:/etc/nginx/conf.d/default.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment