Created
June 20, 2020 02:07
-
-
Save shin1x1/a74e3a06203a13e5660d91befc2a195d to your computer and use it in GitHub Desktop.
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: | |
image: shin1x1/laravel-nginx118 | |
ports: | |
- '8000:80' | |
volumes: | |
- .:/var/www/html | |
depends_on: | |
- php | |
php: | |
image: shin1x1/laravel-php74-pgsql | |
volumes: | |
- .:/var/www/html | |
depends_on: | |
- db | |
- db-test | |
db: &db | |
image: postgres:12-alpine | |
environment: | |
- POSTGRES_USER=app | |
- POSTGRES_PASSWORD=pass | |
- POSTGRES_DB=app | |
- LC_ALL=C | |
db-test: | |
*db | |
composer: | |
image: composer:1.10 | |
volumes: | |
- .:/var/www/html | |
working_dir: /var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment