1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

change docker555

This commit is contained in:
MoonTestUse1
2024-12-24 01:55:39 +06:00
parent ae90221652
commit 6c0669ddf4
2 changed files with 20 additions and 10 deletions

View File

@@ -3,23 +3,27 @@ version: '3.8'
services:
frontend:
build:
context: .
dockerfile: docker/frontend/Dockerfile
context: ./frontend
dockerfile: ../docker/frontend/Dockerfile
container_name: support-frontend
restart: unless-stopped
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend
backend:
build:
context: .
dockerfile: docker/backend/Dockerfile
context: ./backend
dockerfile: ../docker/backend/Dockerfile
container_name: support-backend
restart: unless-stopped
environment:
- TELEGRAM_BOT_TOKEN=7677506032:AAHEqNUr1lIUfNVbLwaWIaPeKKShsCyz3eo
- TELEGRAM_CHAT_ID=-1002037023574
volumes:
- ./backend:/app
- sqlite_data:/app/instance
nginx:
@@ -38,4 +42,4 @@ services:
volumes:
sqlite_data:
frontend_build:
frontend_build: