This commit is contained in:
Vladiysss
2026-04-18 14:55:18 +03:00
commit 31c2764936
58 changed files with 34544 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
frontend:
build:
context: .
dockerfile: Dockerfile
image: fool-stack-frontend:latest
container_name: fool-stack-frontend
restart: unless-stopped
environment:
# URL бэкенда, к которому nginx проксирует /api и /static/avatars
BACKEND_URL: ${BACKEND_URL:-https://back.fool-stack.ru/}
expose:
- "80"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost/"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
- dokploy-network
networks:
dokploy-network:
external: true