Files
cryptowallet/docker-compose.yml
2026-05-11 18:36:44 +03:00

27 lines
541 B
YAML

services:
api:
build:
context: .
dockerfile: Dockerfile
container_name: cryptowallet-api
restart: unless-stopped
ports:
- "3001:3001"
env_file:
- .env
environment:
API_PORT: "3001"
volumes:
- ./logs:/app/logs
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/health"]
interval: 10s
timeout: 5s
retries: 5
start_period: 15s
logging:
driver: json-file
options:
max-size: "20m"
max-file: "5"