Merge pull request #68 from ekini/feature/remove_jobs

This commit is contained in:
Ron
2023-07-15 18:43:48 +08:00
committed by GitHub
2 changed files with 1 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ target "app" {
// use matrix strategy to build several targets at once
matrix = {
tgt = ["app", "scheduler", "jobs", "events"]
tgt = ["app", "scheduler", "events"]
}
context = "./"
// set the target from matrix

View File

@@ -96,11 +96,6 @@ CMD ["/startup.sh"]
# Events stage
FROM base as events
ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
CMD ["php", "artisan", "queue:work", "events"]
# Jobs stage
FROM base as jobs
ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
CMD ["php", "artisan", "queue:work", "sqs"]
# Application stage