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
63a78f77
Commit
63a78f77
authored
2 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
nodejs running
parent
5156aa13
No related branches found
Branches containing commit
No related tags found
2 merge requests
!1973
Development
,
!1934
Resolve "Update Images"
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+25
-8
25 additions, 8 deletions
docker-compose.yml
metager/.env.example
+0
-50
0 additions, 50 deletions
metager/.env.example
with
25 additions
and
58 deletions
docker-compose.yml
+
25
−
8
View file @
63a78f77
...
@@ -4,6 +4,9 @@ version: "3"
...
@@ -4,6 +4,9 @@ version: "3"
volumes
:
volumes
:
vendor
:
{}
vendor
:
{}
composer_cache
:
{}
composer_cache
:
{}
node_cache
:
{}
node_modules
:
{}
# Services
# Services
services
:
services
:
fpm
:
fpm
:
...
@@ -15,6 +18,16 @@ services:
...
@@ -15,6 +18,16 @@ services:
volumes
:
volumes
:
-
./metager:/metager/metager_app
-
./metager:/metager/metager_app
-
vendor:/metager/metager_app/vendor
-
vendor:/metager/metager_app/vendor
nginx
:
build
:
context
:
./
dockerfile
:
build/nginx/Dockerfile
target
:
${APP_ENV}
volumes
:
-
./metager/public:/metager/metager_app/public
ports
:
-
8080:8080
composer
:
composer
:
build
:
build
:
<<
:
*fpm_build
<<
:
*fpm_build
...
@@ -26,13 +39,17 @@ services:
...
@@ -26,13 +39,17 @@ services:
-
./metager:/metager/metager_app
-
./metager:/metager/metager_app
-
vendor:/metager/metager_app/vendor
-
vendor:/metager/metager_app/vendor
-
composer_cache:/composer_cache
-
composer_cache:/composer_cache
nginx
:
build
:
node
:
context
:
./
image
:
node:14
dockerfile
:
build/nginx/Dockerfile
entrypoint
:
[
"
/bin/bash"
,
"
-c"
]
target
:
${APP_ENV}
command
:
-
|
npm install
npm run watch
working_dir
:
/metager/metager_app
volumes
:
volumes
:
-
./metager
/public
:/metager/metager_app
/public
-
./metager:/metager/metager_app
ports
:
-
node_modules:/metager/metager_app/node_modules
-
8080:8080
-
node_cache:/root/.npm
\ No newline at end of file
This diff is collapsed.
Click to expand it.
metager/.env.example
deleted
100644 → 0
+
0
−
50
View file @
5156aa13
APP_ENV=local
APP_DEBUG=true
APP_LOG_LEVEL=debug
LOG_CHANNEL=stderr
APP_KEY=
APP_URL=http://nginx
BOT_PROTECTION=true
DB_CONNECTION=mysql
DB_HOST=mgdb
DB_PORT=3306
DB_DATABASE=metager
DB_USERNAME=metager
DB_PASSWORD="metager"
REDIS_RESULT_CONNECTION=default
REDIS_RESULT_CACHE_DURATION=60
BROADCAST_DRIVER=log
CACHE_DRIVER=redis
SESSION_DRIVER=file
QUEUE_CONNECTION=sync
REDIS_CACHE_CONNECTION=cache
REDIS_CACHE_HOST=redis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
PROJECT_NAME=MetaGer
BRANCH_NAME=Local
COMMIT_NAME=Testing
BROWSERSTACK_BROWSER=WINDOWS_10_FIREFOX
BROWSERSTACK_SEPARATE_SESSIONS=true
#PROXY_HOST=
#PROXY_PORT=
\ No newline at end of file
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