Last active
September 22, 2022 16:52
-
-
Save elvinlari/e914c01664b499e7c62299be764f320e to your computer and use it in GitHub Desktop.
Queue service
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
laravel-queue: | |
build: | |
context: ./docker | |
dockerfile: php.dockerfile | |
args: | |
- UID=${UID:-1000} | |
- GID=${GID:-1000} | |
- USER=${USER:-laravel} | |
container_name: laravel-queue | |
volumes: | |
- ./src:/var/www/html | |
- .env:/var/www/html/.env | |
depends_on: | |
- mysql | |
working_dir: /var/www/html | |
entrypoint: ['php', '/var/www/html/artisan', 'queue:work'] | |
networks: | |
- laravel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment