-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yml
More file actions
36 lines (33 loc) · 999 Bytes
/
Copy pathcompose.yml
File metadata and controls
36 lines (33 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# =============================================================================
# AngelaMos | 2026
# compose.yml
# =============================================================================
# Production compose - Nginx serving built React app
# For Cloudflare tunnel: docker compose -f compose.yml -f cloudflared.compose.yml up
# =============================================================================
name: ${APP_NAME:-no-auth-template}
services:
nginx:
build:
context: .
dockerfile: infra/docker/vite.prod
args:
- VITE_API_URL=${VITE_API_URL:-/api}
- VITE_APP_TITLE=${VITE_APP_TITLE:-My App}
container_name: ${APP_NAME:-no-auth-template}-nginx
ports:
- "${NGINX_HOST_PORT:-22784}:80"
networks:
- app
deploy:
resources:
limits:
cpus: '1.0'
memory: 256M
reservations:
cpus: '0.25'
memory: 64M
restart: unless-stopped
networks:
app:
driver: bridge