Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
5838439a
Commit
5838439a
authored
1 year ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
more efficient compose file
parent
ec211735
No related branches found
No related tags found
1 merge request
!2112
Resolve "Upgrade Dependencies"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+9
-7
9 additions, 7 deletions
docker-compose.yml
with
9 additions
and
7 deletions
docker-compose.yml
+
9
−
7
View file @
5838439a
...
@@ -8,11 +8,12 @@ volumes:
...
@@ -8,11 +8,12 @@ volumes:
# Services
# Services
services
:
services
:
fpm
:
fpm
:
image
:
metager:latest
build
:
build
:
&fpm_build
context
:
./
context
:
./
dockerfile
:
build/fpm/Dockerfile
dockerfile
:
build/fpm/Dockerfile
target
:
${APP_ENV}
target
:
${APP_ENV}
pull_policy
:
never
restart
:
unless-stopped
restart
:
unless-stopped
networks
:
networks
:
-
metager
-
metager
...
@@ -23,6 +24,7 @@ services:
...
@@ -23,6 +24,7 @@ services:
healthcheck
:
healthcheck
:
test
:
"
curl
-f
http://nginx:8080/health-check/liveness"
test
:
"
curl
-f
http://nginx:8080/health-check/liveness"
nginx
:
nginx
:
image
:
metager_nginx:latest
build
:
build
:
context
:
./
context
:
./
dockerfile
:
build/nginx/Dockerfile
dockerfile
:
build/nginx/Dockerfile
...
@@ -39,8 +41,8 @@ services:
...
@@ -39,8 +41,8 @@ services:
healthcheck
:
healthcheck
:
test
:
"
curl
-f
http://nginx:8080/health-check/nginx"
test
:
"
curl
-f
http://nginx:8080/health-check/nginx"
scheduler
:
scheduler
:
build
:
image
:
metager:latest
<<
:
*fpm_build
pull_policy
:
never
restart
:
unless-stopped
restart
:
unless-stopped
entrypoint
:
/usr/local/bin/php
entrypoint
:
/usr/local/bin/php
command
:
artisan schedule:work-mg
command
:
artisan schedule:work-mg
...
@@ -53,8 +55,8 @@ services:
...
@@ -53,8 +55,8 @@ services:
healthcheck
:
healthcheck
:
test
:
"
curl
-f
http://nginx:8080/health-check/liveness-scheduler"
test
:
"
curl
-f
http://nginx:8080/health-check/liveness-scheduler"
worker
:
worker
:
build
:
image
:
metager:latest
<<
:
*fpm_build
pull_policy
:
never
restart
:
unless-stopped
restart
:
unless-stopped
entrypoint
:
/usr/local/bin/php
entrypoint
:
/usr/local/bin/php
command
:
artisan requests:fetcher
command
:
artisan requests:fetcher
...
@@ -75,8 +77,8 @@ services:
...
@@ -75,8 +77,8 @@ services:
ports
:
ports
:
-
"
7900:7900"
-
"
7900:7900"
composer
:
composer
:
build
:
image
:
metager:latest
<<
:
*fpm_build
pull_policy
:
never
entrypoint
:
/usr/bin/composer
entrypoint
:
/usr/bin/composer
command
:
install
command
:
install
environment
:
environment
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment