-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) · 799 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (27 loc) · 799 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
# MorseFleet Docker Compose
# For local development and testing
#
# Usage:
# docker-compose up -d # Start container
# docker-compose down # Stop container
# docker-compose up -d --build # Rebuild and start
#
# Production deployment uses deploy-production.sh instead
version: "3.8"
services:
morsefleet:
build:
context: .
dockerfile: Dockerfile
container_name: morsefleet
# Port 3405 matches production config
# localhost-only binding for security (exposed via Cloudflare tunnel in prod)
ports:
- "127.0.0.1:3405:80"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s