File tree Expand file tree Collapse file tree 3 files changed +33
-38
lines changed
Expand file tree Collapse file tree 3 files changed +33
-38
lines changed Original file line number Diff line number Diff line change 1+ # This file defines how to run your application using Docker Compose.
2+ # It's a blueprint for a single service called 'sentient-app'.
3+ version : ' 3.8' # Specifies the version of the Docker Compose file format.
4+
5+ services : # This is a list of all services (containers) we want to run. We only have one.
6+ sentient-app : # This is the name we are giving our service.
7+
8+ # 'build' tells Docker Compose how to create the Docker image.
9+ build :
10+ # 'context: .' means "look for the Dockerfile in the current directory".
11+ # Since we'll run this from src/server, it finds it correctly.
12+ context : .
13+ dockerfile : Dockerfile
14+
15+ # 'container_name' gives a specific, predictable name to the running container.
16+ container_name : sentient-app
17+
18+ # 'restart: unless-stopped' is a safety measure. If the container crashes
19+ # or the EC2 server reboots, Docker will automatically restart it.
20+ restart : unless-stopped
21+
22+ # 'env_file' tells the container to load all its environment variables
23+ # from the specified file. We'll create '.env' in the next step.
24+ env_file :
25+ - ./.env
26+
27+ # 'ports' maps a port on the EC2 server (the host) to a port inside the container.
28+ # Format is "HOST_PORT:CONTAINER_PORT".
29+ # This exposes your main FastAPI application (running on port 5000 inside the container)
30+ # to the outside world through port 5000 on the EC2 instance.
31+ ports :
32+ - " 5000:5000"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ stdout_logfile=/var/log/supervisor/mcp-slack.log
177177stderr_logfile=/var/log/supervisor/mcp-slack_err.log
178178
179179[program:healthcheck]
180- command=python ping_waha.py
180+ command=python -m main.scripts.healthcheck
181181directory=/app
182182autostart=true
183183autorestart=true
You can’t perform that action at this time.
0 commit comments