Files
agroexpert/frontend/docker-compose.yml

36 lines
787 B
YAML
Raw Normal View History

2024-03-14 20:54:28 +03:00
version: '3'
services:
2025-06-16 00:24:13 +03:00
mkcert:
build:
context: ./mkcert
dockerfile: Dockerfile
environment:
CERT_IP: 194.87.253.43 # Заменить на нужный IP
volumes:
- ./certs:/certs # Важно: volume монтируем относительно docker-compose.yml
dev:
#build: .
image: agro_front
2024-03-14 20:54:28 +03:00
volumes:
- ./dist:/app/dist
2024-03-15 17:52:18 +03:00
- ./src:/app/src
- ./public:/app/public
2025-06-16 00:24:13 +03:00
command: ["dev"]
environment:
- NODE_ENV=development
2024-03-15 17:52:18 +03:00
ports:
2024-04-03 22:24:30 +03:00
- 5173:5173
2025-06-16 00:24:13 +03:00
container_name: agro_front
build:
#build: .
image: agro_front
volumes:
- ./dist:/app/dist
- ./src:/app/src
- ./public:/app/public
environment:
- NODE_ENV=production
command: ["build"]