Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
math_tutor_dev
public_math_tutor
Commits
09b170b8
Commit
09b170b8
authored
Apr 15, 2026
by
Kantz
Browse files
compose an main angepasst
parent
25e17ca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
math-tutor/docker/docker-compose.yml
View file @
09b170b8
services
:
services
:
nginx
:
image
:
nginx:1.27-alpine
depends_on
:
-
backend
-
frontend
ports
:
-
"
80:80"
volumes
:
-
./nginx.conf:/etc/nginx/conf.d/default.conf:ro
-
frontend-dist:/usr/share/nginx/html:ro
restart
:
unless-stopped
backend
:
backend
:
build
:
build
:
context
:
../backend
context
:
../backend
dockerfile
:
Dockerfile
dockerfile
:
Dockerfile
env_file
:
env_file
:
-
../backend/.env
-
../backend/.env
_openai
expose
:
expose
:
-
"
8000"
-
"
8000"
healthcheck
:
healthcheck
:
...
@@ -34,6 +22,8 @@ services:
...
@@ -34,6 +22,8 @@ services:
restart
:
unless-stopped
restart
:
unless-stopped
volumes
:
volumes
:
-
./logs:/app/logs
-
./logs:/app/logs
networks
:
-
web
frontend
:
frontend
:
build
:
build
:
...
@@ -41,9 +31,10 @@ services:
...
@@ -41,9 +31,10 @@ services:
dockerfile
:
Dockerfile
dockerfile
:
Dockerfile
depends_on
:
depends_on
:
-
backend
-
backend
volumes
:
-
frontend-dist:/dist
restart
:
unless-stopped
restart
:
unless-stopped
networks
:
-
web
volumes
:
networks
:
frontend-dist
:
web
:
external
:
true
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment