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

change docker

This commit is contained in:
MoonTestUse1
2024-12-23 23:26:35 +06:00
parent 7d6a424c8d
commit ae3e0a1f0a
3 changed files with 21 additions and 15 deletions

View File

@@ -3,8 +3,8 @@ version: '3.8'
services:
frontend:
build:
context: .
dockerfile: docker/frontend/Dockerfile
context: ./frontend
dockerfile: ../docker/frontend/Dockerfile
container_name: support-frontend
restart: unless-stopped
depends_on:
@@ -23,15 +23,13 @@ services:
- sqlite_data:/app/instance
nginx:
image: nginx:alpine
build:
context: ./frontend
dockerfile: ../docker/frontend/Dockerfile
container_name: support-nginx
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
- ./frontend/dist:/usr/share/nginx/html:ro
depends_on:
- frontend
- backend